forked from jbaysolutions/vue-grid-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
24 lines (22 loc) · 743 Bytes
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// https://medium.com/js-dojo/how-to-reduce-your-vue-js-bundle-size-with-webpack-3145bf5019b7
// const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const webpack = require('webpack');
const PACKAGE = require('./package.json');
const banner = PACKAGE.name + ' - ' + PACKAGE.version + ' | ' +
'(c) 2015, ' + new Date().getFullYear() + ' ' + PACKAGE.author + ' | ' +
PACKAGE.homepage;
module.exports = {
configureWebpack: {
output: {
library: "VueGridLayout",
libraryExport: 'default'
},
plugins: [
// new BundleAnalyzerPlugin(),
new webpack.BannerPlugin(banner)
],
},
css: {
extract: false
},
}