diff options
Diffstat (limited to 'apps/comments/webpack.js')
-rw-r--r-- | apps/comments/webpack.js | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/apps/comments/webpack.js b/apps/comments/webpack.js index dff1aa0518f..b2413d148aa 100644 --- a/apps/comments/webpack.js +++ b/apps/comments/webpack.js @@ -1,4 +1,4 @@ -const path = require('path'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'comments.js'), @@ -7,34 +7,7 @@ module.exports = { publicPath: '/js/', filename: 'comments.js' }, - module: { - rules: [ - { - test: /\.css$/, - use: ['style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - }, - { - test: /\.(png|jpg|gif|svg)$/, - loader: 'file-loader', - options: { - name: '[name].[ext]?[hash]' - } - } - ] - }, externals: { jquery: 'jQuery' - }, - resolve: { - extensions: ['*', '.js'] } -}; +} |