6.3.2 • Published 6 months ago
@studiometa/webpack-config-preset-vue-3 v6.3.2
@studiometa/webpack-config-preset-vue-3
A preset for @studiometa/webpack-config to add Vue 2 support to your project.
Usage
Install the package along with Vue:
npm install --save-dev @studiometa/webpack-config-preset-vue-3
npm install --save vue@3
And load the preset in the meta.config.js
file:
import { defineConfig } from '@studiometa/webpack-config';
import { vue } from '@studiometa/webpack-config-preset-vue-3';
export default defineConfig({
presets: [vue()],
// ...
});
Pass options for the vue-loader
and svgo
used by the vue-svg-loader
:
import { defineConfig } from '@studiometa/webpack-config';
import { vue } from '@studiometa/webpack-config-preset-vue-2';
export default defineConfig({
presets: [vue({
vue: {
productionMode: true,
},
svgo: {
plugins: [{ prefixIds: true }, { removeViewBox: false }],
}
})],
// ...
});
6.3.0
7 months ago
6.2.1
7 months ago
6.3.2
6 months ago
6.3.1
7 months ago
6.2.2
7 months ago
6.2.0
8 months ago
5.3.2
1 year ago
6.1.0
11 months ago
6.0.3
1 year ago
5.3.1
1 year ago
6.0.2
1 year ago
6.0.1
1 year ago
6.0.0
1 year ago
5.2.3
2 years ago
5.2.2
2 years ago
5.3.0
2 years ago
5.2.1
2 years ago
5.2.0
2 years ago
5.1.1
2 years ago
5.0.1
2 years ago
5.0.0
2 years ago
4.2.7
2 years ago
5.0.0-alpha.2
2 years ago
5.0.0-alpha.1
2 years ago
4.2.6
2 years ago
4.2.3
2 years ago
4.2.4
2 years ago
2.4.5
2 years ago
4.2.1
2 years ago
4.2.0
2 years ago
4.0.5
3 years ago
4.0.4
3 years ago
4.0.7
3 years ago
4.0.6
3 years ago
4.1.0
3 years ago
4.1.2
3 years ago
4.1.1
3 years ago
4.0.1
3 years ago
4.0.0
3 years ago
4.0.3
3 years ago
4.0.2
3 years ago
4.0.0-alpha.3
3 years ago
4.0.0-alpha.2
3 years ago
4.0.0-alpha.1
3 years ago
4.0.0-alpha.0
3 years ago