Skip to content

Commit

Permalink
fix: vue entry file babel compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed Oct 22, 2018
1 parent ec40b67 commit eeeaeb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class WebpackBaseBuilder extends Config {

createFrameworkLoader(styleLoader = 'style-loader', options) {
const preLoaders = {};
const loaders = {};
const loaders = { js: this.createBabelLoader() }; // fix vue entry babel compile
const extract = this.isUse('extract');
Object.keys(this.loaders).forEach(name => {
const itemLoader = this.loaders[name];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easywebpack",
"version": "4.9.0-rc.2",
"version": "4.9.0-rc.3",
"description": "基于 Webpack 的前端构建工程化解决方案",
"keywords": [
"webpack",
Expand Down

0 comments on commit eeeaeb7

Please sign in to comment.