mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 03:07:36 +08:00
Remove whitespace in vue template
This commit is contained in:
parent
706d47b710
commit
23d282bb4f
@ -13,6 +13,7 @@ Object.keys(dependencies).forEach(function(key) {
|
||||
});
|
||||
|
||||
externals['element-ui/src/utils/clickoutside'] = 'element-ui/lib/utils/clickoutside';
|
||||
externals['element-ui/src/utils/date'] = 'element-ui/lib/utils/date';
|
||||
externals['element-ui/src/utils/popper'] = 'element-ui/lib/utils/popper';
|
||||
externals['element-ui/src/utils/vue-popper'] = 'element-ui/lib/utils/vue-popper';
|
||||
externals['element-ui/src/utils/resize-event'] = 'element-ui/lib/utils/resize-event';
|
||||
|
@ -14,5 +14,5 @@ cooking.set({
|
||||
|
||||
cooking.add('output.filename', 'element-ui.common.js');
|
||||
cooking.add('loader.js.exclude', config.jsexclude);
|
||||
|
||||
cooking.add('vue.preserveWhitespace', false);
|
||||
module.exports = cooking.resolve();
|
||||
|
@ -15,4 +15,5 @@ cooking.set({
|
||||
|
||||
cooking.add('output.filename', '[name]/index.js');
|
||||
cooking.add('loader.js.exclude', config.jsexclude);
|
||||
cooking.add('vue.preserveWhitespace', false);
|
||||
module.exports = cooking.resolve();
|
||||
|
@ -14,5 +14,5 @@ cooking.set({
|
||||
|
||||
cooking.add('output.filename', 'index.js');
|
||||
cooking.add('loader.js.exclude', config.jsexclude);
|
||||
|
||||
cooking.add('vue.preserveWhitespace', false);
|
||||
module.exports = cooking.resolve();
|
||||
|
@ -91,4 +91,5 @@ if (process.env.NODE_ENV === 'production') {
|
||||
cooking.add('externals.vue-router', 'VueRouter');
|
||||
}
|
||||
|
||||
cooking.add('vue.preserveWhitespace', false);
|
||||
module.exports = cooking.resolve();
|
||||
|
@ -24,4 +24,5 @@ cooking.add('preLoader.0', {
|
||||
if (!process.env.CI_ENV) {
|
||||
cooking.add('plugins.process', new ProgressBarPlugin());
|
||||
}
|
||||
cooking.add('vue.preserveWhitespace', false);
|
||||
module.exports = cooking.resolve();
|
||||
|
@ -99,8 +99,8 @@
|
||||
"theaterjs": "^3.0.0",
|
||||
"uppercamelcase": "^1.1.0",
|
||||
"url-loader": "^0.5.7",
|
||||
"vue": "^2.0.2",
|
||||
"vue-loader": "^9.5.1",
|
||||
"vue": "^2.0.3",
|
||||
"vue-loader": "^9.7.0",
|
||||
"vue-markdown-loader": "^0.5.1",
|
||||
"vue-router": "^2.0.0",
|
||||
"webpack": "^1.13.2",
|
||||
|
Loading…
Reference in New Issue
Block a user