Browse Source

chore: 打包改名

es6
iapyang 5 years ago
parent
commit
07b8d59dd7
  1. 2
      dist/2.0/fineui.ie.min.js
  2. 2
      dist/2.0/fineui.min.js
  3. 2
      dist/bundle.ie.min.js
  4. 2
      dist/bundle.min.js
  5. 0
      dist/es5.fineui.js
  6. 1
      dist/es5.fineui.js.map
  7. 2
      dist/fineui.ie.min.js
  8. 2
      dist/fineui.min.js
  9. 1
      dist/fineui.typescript.ie.js.map
  10. 1
      dist/fineui.typescript.js.map
  11. 0
      dist/ie.fineui.js
  12. 1
      dist/ie.fineui.js.map
  13. 2
      dist/utils.min.js
  14. 12
      lib/postbuild/postbuild.js
  15. 4
      webpack/webpack.prod.js

2
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

0
dist/fineui.typescript.js → dist/es5.fineui.js vendored

1
dist/es5.fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/fineui.typescript.ie.js.map vendored

File diff suppressed because one or more lines are too long

1
dist/fineui.typescript.js.map vendored

File diff suppressed because one or more lines are too long

0
dist/fineui.typescript.ie.js → dist/ie.fineui.js vendored

1
dist/ie.fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

12
lib/postbuild/postbuild.js

@ -31,9 +31,9 @@ function unionJs(filenames) {
}); });
} }
unionJs(["bundle.min.js", "fineui.typescript.js"]); unionJs(["bundle.min.js", "es5.fineui.js"]);
unionJs(["bundle.ie.min.js", "fineui.typescript.ie.js"]); unionJs(["bundle.ie.min.js", "ie.fineui.js"]);
unionJs(["fineui.min.js", "fineui.typescript.js"]); unionJs(["fineui.min.js", "es5.fineui.js"]);
unionJs(["fineui.ie.min.js", "fineui.typescript.ie.js"]); unionJs(["fineui.ie.min.js", "ie.fineui.js"]);
unionJs(["2.0/fineui.min.js", "fineui.typescript.js"]); unionJs(["2.0/fineui.min.js", "es5.fineui.js"]);
unionJs(["2.0/fineui.ie.min.js", "fineui.typescript.ie.js"]); unionJs(["2.0/fineui.ie.min.js", "ie.fineui.js"]);

4
webpack/webpack.prod.js

@ -32,13 +32,13 @@ module.exports = merge.smart(common, {
output: { output: {
path: dirs.DEST, path: dirs.DEST,
filename: isBuilt4IE8 ? "fineui.typescript.ie.js" : "fineui.typescript.js", filename: isBuilt4IE8 ? "ie.fineui.js" : "es5.fineui.js",
}, },
plugins: [ plugins: [
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
path: dirs.DEST, path: dirs.DEST,
filename: "fineui.typescript.css", filename: "es5.fineui.css",
}), }),
new webpack.BannerPlugin({ new webpack.BannerPlugin({
banner: `time: ${new Date().toLocaleString()}`, banner: `time: ${new Date().toLocaleString()}`,

Loading…
Cancel
Save