diff options
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/webpack.js | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/apps/files_versions/webpack.js b/apps/files_versions/webpack.js index 12024a39b57..d8e9f413351 100644 --- a/apps/files_versions/webpack.js +++ b/apps/files_versions/webpack.js @@ -1,4 +1,4 @@ -const path = require('path'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'files_versions.js'), @@ -6,36 +6,5 @@ module.exports = { path: path.resolve(__dirname, 'js'), publicPath: '/js/', filename: 'files_versions.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]' - } - }, - { - test: /\.handlebars$/, - loader: "handlebars-loader" - } - ] - }, - resolve: { - extensions: ['*', '.js'] } -}; +} |