mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 13:48:13 +00:00
fix(schema): remove obsolete terser option from webpack config (#21407)
This commit is contained in:
parent
5872015be3
commit
6d62b65f97
@ -35,7 +35,6 @@ export default defineBuildConfig({
|
|||||||
'@vitejs/plugin-vue',
|
'@vitejs/plugin-vue',
|
||||||
'@vitejs/plugin-vue-jsx',
|
'@vitejs/plugin-vue-jsx',
|
||||||
'mini-css-extract-plugin',
|
'mini-css-extract-plugin',
|
||||||
'terser-webpack-plugin',
|
|
||||||
'css-minimizer-webpack-plugin',
|
'css-minimizer-webpack-plugin',
|
||||||
'webpack-dev-middleware',
|
'webpack-dev-middleware',
|
||||||
'h3',
|
'h3',
|
||||||
|
@ -212,20 +212,6 @@ export default defineUntypedSchema({
|
|||||||
*/
|
*/
|
||||||
plugins: [],
|
plugins: [],
|
||||||
|
|
||||||
/**
|
|
||||||
* Terser plugin options.
|
|
||||||
*
|
|
||||||
* Set to false to disable this plugin, or pass an object of options.
|
|
||||||
*
|
|
||||||
* @see [terser-webpack-plugin documentation](https://github.com/webpack-contrib/terser-webpack-plugin).
|
|
||||||
*
|
|
||||||
* @note Enabling sourceMap will leave `//# sourceMappingURL` linking comment at
|
|
||||||
* the end of each output file if webpack `config.devtool` is set to `source-map`.
|
|
||||||
*
|
|
||||||
* @type {false | typeof import('terser-webpack-plugin').BasePluginOptions & typeof import('terser-webpack-plugin').DefinedDefaultMinimizerAndOptions<any>}
|
|
||||||
*/
|
|
||||||
terser: {},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hard-replaces `typeof process`, `typeof window` and `typeof document` to tree-shake bundle.
|
* Hard-replaces `typeof process`, `typeof window` and `typeof document` to tree-shake bundle.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user