Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Setup banner plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
romanslonov committed Apr 12, 2019
1 parent 88bd308 commit ab89141
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 4 deletions.
6 changes: 6 additions & 0 deletions build/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import vue from 'rollup-plugin-vue';
import buble from 'rollup-plugin-buble';
import commonjs from 'rollup-plugin-commonjs';
import banner from 'rollup-plugin-banner';
import { terser } from 'rollup-plugin-terser';

const bannerText = 'Modulist Vue v<%= pkg.version %> \n(c) 2019 SimplyStack \nReleased under the MIT License.';

const baseConfig = {
input: 'src/entry.js',
plugins: [
Expand Down Expand Up @@ -50,6 +53,7 @@ export default [
ecma: 6,
},
}),
banner(bannerText),
],
},
{
Expand All @@ -70,6 +74,7 @@ export default [
ecma: 6,
},
}),
banner(bannerText),
],
},
{
Expand All @@ -90,6 +95,7 @@ export default [
ecma: 5,
},
}),
banner(bannerText),
],
},
];
5 changes: 5 additions & 0 deletions dist/modulist-vue.common.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/modulist-vue.esm.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/modulist-vue.min.js

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prepublish": "bash scripts/prepublish.sh"
},
"devDependencies": {
"@modulist/css": "0.0.34",
"@modulist/css": "0.0.36",
"@vue/cli-plugin-babel": "^3.5.0",
"@vue/cli-plugin-eslint": "^3.5.0",
"@vue/cli-plugin-unit-jest": "^3.5.0",
Expand All @@ -35,6 +35,7 @@
"husky": "^1.3.1",
"lint-staged": "^8.1.4",
"rollup": "^1.7.0",
"rollup-plugin-banner": "^0.2.0",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-terser": "^4.0.4",
Expand Down

0 comments on commit ab89141

Please sign in to comment.