removed unplugin. Working on better performance in dev mode...
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const { join } = require('path')
|
||||
const Encore = require('@symfony/webpack-encore')
|
||||
const Components = require('unplugin-vue-components/webpack')
|
||||
const { NaiveUiResolver } = require('unplugin-vue-components/resolvers')
|
||||
//const { NaiveUiResolver } = require('unplugin-vue-components/resolvers')
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -194,9 +194,11 @@ Encore.enableVueLoader(() => {}, {
|
||||
}).configureDefinePlugin(options => {
|
||||
options['__VUE_OPTIONS_API__'] = true
|
||||
options['__VUE_PROD_DEVTOOLS__'] = false
|
||||
}).addPlugin( Components({
|
||||
resolvers: [NaiveUiResolver()]
|
||||
}))
|
||||
})
|
||||
|
||||
/*.addPlugin( Components({
|
||||
//resolvers: [NaiveUiResolver()]
|
||||
}))*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -210,7 +212,7 @@ Encore.enableVueLoader(() => {}, {
|
||||
*/
|
||||
const config = Encore.getWebpackConfig()
|
||||
config.infrastructureLogging = {
|
||||
level: 'debug',
|
||||
level: 'info',
|
||||
}
|
||||
config.stats = 'errors-warnings'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user