1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53:34 +00:00

few more formatting fixes

This commit is contained in:
Kyle Spearrin
2017-10-28 22:47:01 -04:00
parent 141dfa2dc7
commit 5439a2b33e
3 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
const path = require('path');
const webpack = require("webpack");
const webpack = require('webpack');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
@@ -48,11 +48,11 @@ module.exports = {
'Q': 'q'
}),
new webpack.optimize.CommonsChunkPlugin({
name: "popup/vendor",
name: 'popup/vendor',
chunks: ['popup/app'],
minChunks: function (module) {
// this assumes your vendor imports exist in the node_modules directory
return module.context && module.context.indexOf("node_modules") !== -1;
return module.context && module.context.indexOf('node_modules') !== -1;
}
}),
new HtmlWebpackPlugin({
@@ -87,7 +87,7 @@ module.exports = {
])
],
resolve: {
extensions: [ ".tsx", ".ts", ".js" ]
extensions: ['.tsx', '.ts', '.js']
},
output: {
filename: '[name].js',