Актуализация пакетов, в процессе

This commit is contained in:
Book Pauk
2021-10-27 00:06:42 +07:00
parent 0365acbf7a
commit dda2de58a8
7 changed files with 2809 additions and 7686 deletions

View File

@@ -5,6 +5,12 @@ const VueLoaderPlugin = require('vue-loader/lib/plugin');
const clientDir = path.resolve(__dirname, '../client');
module.exports = {
resolve: {
fallback: {
"url": false,
"path": false,
}
},
entry: [`${clientDir}/main.js`],
output: {
publicPath: '/app/',
@@ -25,14 +31,19 @@ module.exports = {
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
query: {
options: {
presets: [['@babel/preset-env', { targets: { esmodules: true } }]],
plugins: [
['@babel/plugin-proposal-decorators', { legacy: true }]
]
}
/*query: {
plugins: [
'syntax-dynamic-import',
'transform-decorators-legacy',
'transform-class-properties',
// ["component", { "libraryName": "element-ui", "styleLibraryName": `~${clientDir}/theme` } ]
]
}
}*/
},
{
test: /\.gif$/,