1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-18 08:38:52 +09:00

Update webpack.config.ts

This commit is contained in:
syuilo 2020-12-27 10:42:47 +09:00
parent 2f6187a26a
commit 70eb75b7e6

View File

@ -140,7 +140,6 @@ module.exports = {
_DATA_TRANSFER_DECK_COLUMN_: JSON.stringify('mk_deck_column'), _DATA_TRANSFER_DECK_COLUMN_: JSON.stringify('mk_deck_column'),
__VUE_OPTIONS_API__: true, __VUE_OPTIONS_API__: true,
__VUE_PROD_DEVTOOLS__: false, __VUE_PROD_DEVTOOLS__: false,
__VUE_I18N_LEGACY_API__: false,
}), }),
new VueLoaderPlugin(), new VueLoaderPlugin(),
new WebpackOnBuildPlugin((stats: any) => { new WebpackOnBuildPlugin((stats: any) => {
@ -150,7 +149,8 @@ module.exports = {
output: { output: {
path: __dirname + '/built/client/assets', path: __dirname + '/built/client/assets',
filename: `[name].${meta.version}.js`, filename: `[name].${meta.version}.js`,
publicPath: `/assets/` publicPath: `/assets/`,
pathinfo: false,
}, },
resolve: { resolve: {
extensions: [ extensions: [