Sfoglia il codice sorgente

fix eslint error in gen-single-config.js

xsbchen 8 anni fa
parent
commit
4c69a540ca
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      build/gen-single-config.js

+ 3 - 3
build/gen-single-config.js

@@ -1,7 +1,7 @@
 var path = require('path');
 var config = require('./config');
 
-module.exports = function (context, moduleName, entry) {
+module.exports = function(context, moduleName, entry) {
   return {
     entry: {
       index: path.resolve(context, entry || 'index.js')
@@ -13,5 +13,5 @@ module.exports = function (context, moduleName, entry) {
     extends: ['vue2'],
     alias: config.alias,
     externals: { vue: config.vue }
-  }
-}
+  };
+};