scinote-web/config/webpack/environment.js

10 lines
322 B
JavaScript
Raw Normal View History

const { environment } = require('@rails/webpacker')
2021-08-05 19:15:49 +08:00
const { VueLoaderPlugin } = require('vue-loader')
const vue = require('./loaders/vue')
environment.loaders.delete('nodeModules')
2021-08-05 19:15:49 +08:00
environment.plugins.prepend('VueLoaderPlugin', new VueLoaderPlugin())
environment.loaders.prepend('vue', vue)
2019-07-02 20:37:05 +08:00
module.exports = environment