diff options
Diffstat (limited to 'apps/twofactor_backupcodes/webpack.js')
-rw-r--r-- | apps/twofactor_backupcodes/webpack.js | 40 |
1 files changed, 2 insertions, 38 deletions
diff --git a/apps/twofactor_backupcodes/webpack.js b/apps/twofactor_backupcodes/webpack.js index bd25bf2bbde..ab0888f67c7 100644 --- a/apps/twofactor_backupcodes/webpack.js +++ b/apps/twofactor_backupcodes/webpack.js @@ -1,5 +1,4 @@ -const path = require('path'); -const { VueLoaderPlugin } = require('vue-loader'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'settings.js'), @@ -7,40 +6,5 @@ module.exports = { path: path.resolve(__dirname, 'js'), publicPath: '/js', filename: 'settings.js' - }, - module: { - rules: [ - { - test: /\.css$/, - use: ['vue-style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['vue-style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.vue$/, - loader: 'vue-loader' - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - }, - { - test: /\.(png|jpg|gif|svg)$/, - loader: 'file-loader', - options: { - name: '[name].[ext]?[hash]' - } - } - ] - }, - plugins: [new VueLoaderPlugin()], - resolve: { - alias: { - vue$: 'vue/dist/vue.esm.js', - }, - extensions: ['*', '.js', '.vue', '.json'] } -}; +} |