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