mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
9 lines
322 B
JavaScript
9 lines
322 B
JavaScript
const { environment } = require('@rails/webpacker')
|
|
const { VueLoaderPlugin } = require('vue-loader')
|
|
const vue = require('./loaders/vue')
|
|
|
|
environment.loaders.delete('nodeModules')
|
|
environment.plugins.prepend('VueLoaderPlugin', new VueLoaderPlugin())
|
|
environment.loaders.prepend('vue', vue)
|
|
|
|
module.exports = environment
|