parent
aa8f2c2c94
commit
707fc2b632
|
@ -212,7 +212,7 @@
|
|||
</p>
|
||||
</footer>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/shareon@1.1/dist/shareon.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/shareon@1.1/dist/shareon.min.js"></script>
|
||||
<link rel="stylesheet" href="../dist/shareon.min.css">
|
||||
<script src="../dist/shareon.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
20
package.json
20
package.json
|
@ -38,9 +38,9 @@
|
|||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-strip": "^1.3.2",
|
||||
"@rollup/plugin-typescript": "^4.0.0",
|
||||
"@size-limit/preset-small-lib": "^4.4.1",
|
||||
"@rollup/plugin-strip": "^1.3.3",
|
||||
"@rollup/plugin-typescript": "^5.0.0",
|
||||
"@size-limit/preset-small-lib": "^4.5.2",
|
||||
"@typescript-eslint/eslint-plugin": "^2.24.0",
|
||||
"cssnano": "^4.1.10",
|
||||
"eslint": "^6.8.0",
|
||||
|
@ -48,14 +48,14 @@
|
|||
"eslint-config-airbnb-typescript": "^7.2.0",
|
||||
"eslint-plugin-import": "^2.20.1",
|
||||
"node-sass": "^4.13.1",
|
||||
"np": "^6.2.0",
|
||||
"np": "^6.2.4",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-banner": "^3.0.1",
|
||||
"rollup": "^1.32.1",
|
||||
"rollup-plugin-license": "^0.13.0",
|
||||
"rollup-plugin-postcss": "^2.5.0",
|
||||
"rollup-plugin-terser": "^5.3.0",
|
||||
"size-limit": "^4.4.1",
|
||||
"postcss-banner": "^3.0.2",
|
||||
"rollup": "^2.18.0",
|
||||
"rollup-plugin-license": "^2.1.0",
|
||||
"rollup-plugin-postcss": "^3.1.2",
|
||||
"rollup-plugin-terser": "^6.1.0",
|
||||
"size-limit": "^4.5.2",
|
||||
"typescript": "^3.8.3"
|
||||
},
|
||||
"size-limit": [
|
||||
|
|
|
@ -44,7 +44,6 @@ export const strip = () => rollupPluginStrip({
|
|||
});
|
||||
|
||||
export const terser = () => rollupPluginTerser({
|
||||
sourcemap: false,
|
||||
output: {
|
||||
comments: false,
|
||||
ecma: 5,
|
||||
|
|
|
@ -14,6 +14,6 @@ export default {
|
|||
},
|
||||
plugins: [
|
||||
typescript(),
|
||||
postcss(`${outputDir}${name}.css`, false),
|
||||
postcss(`${name}.css`, false),
|
||||
],
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ export default {
|
|||
plugins: [
|
||||
typescript(),
|
||||
strip(),
|
||||
postcss(`${outputDir}${name}.min.css`, true),
|
||||
postcss(`${name}.min.css`, true),
|
||||
license()
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue