Browse Source

Removed comments from webpack config. Use consistent quote types

Cameron Kline 8 years ago
parent
commit
22bd87aba0
1 changed files with 7 additions and 10 deletions
  1. 7 10
      frontend/webpack.config.js

+ 7 - 10
frontend/webpack.config.js

@@ -1,8 +1,6 @@
 // webpack.config.js
 module.exports = {
-	// entry point of our application
 	entry: './main.js',
-	// where to place the compiled bundle
 	output: {
 		path: __dirname + '/build/',
 		filename: 'bundle.js'
@@ -15,20 +13,19 @@ module.exports = {
 				exclude: /node_modules/
 			}
 		],
-		// `loaders` is an array of loaders to use.
 		loaders: [
 			{
-				test: /\.vue$/, // a regex for matching all files that end in `.vue`
-				loader: 'vue'   // loader to use for matched files,
+				test: /\.vue$/,
+				loader: 'vue'
 			},
 			{
-				test: /\.js$/,          // a regex for matching all files that end in `.js`
-				loader: 'babel',        // loader to use for matched files,
-				exclude: /node_modules/ // excludes the folder `node_modules`
+				test: /\.js$/,
+				loader: 'babel',
+				exclude: /node_modules/
 			},
 			{
-				test: /\.scss$/,                 // a regex for matching all files that end in `.scss`
-				loader: "css-loader!sass-loader" // loader to use for matched files,
+				test: /\.scss$/,
+				loader: 'css-loader!sass-loader'
 			}
 		]
 	},