mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +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
|