Make the project a ESM module
parent
2e3570ffc2
commit
e501c0b5bb
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"plugins": {
|
||||
"postcss-css-variables": {},
|
||||
"postcss-calc": {},
|
||||
"autoprefixer": {},
|
||||
"cssnano": {
|
||||
"preset": "default"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -21,12 +21,11 @@
|
|||
"email": "nick@karamoff.dev",
|
||||
"url": "https://karamoff.dev"
|
||||
},
|
||||
"main": "./dist/shareon.cjs",
|
||||
"module": "./dist/shareon.mjs",
|
||||
"unpkg": "./dist/shareon.min.js",
|
||||
"type": "module",
|
||||
"main": "./shareon.legacy.js",
|
||||
"module": "./shareon.js",
|
||||
"exports": {
|
||||
"require": "./dist/shareon.cjs",
|
||||
"import": "./dist/shareon.mjs"
|
||||
"import": "./shareon.js"
|
||||
},
|
||||
"files": [
|
||||
"shareon.css",
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
module.exports = {
|
||||
plugins: {
|
||||
'postcss-css-variables': {},
|
||||
'postcss-calc': {},
|
||||
autoprefixer: {},
|
||||
cssnano: {
|
||||
preset: 'default',
|
||||
},
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue