Adjust packaging
This commit is contained in:
parent
a5d4098e29
commit
0bb61d260f
|
@ -8,8 +8,8 @@
|
|||
"access": "public"
|
||||
},
|
||||
"repository": "gitlab:preserves/preserves",
|
||||
"type": "module",
|
||||
"main": "lib/index.js",
|
||||
"main": "dist/preserves.js",
|
||||
"module": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>",
|
||||
"devDependencies": {
|
||||
|
|
|
@ -2,7 +2,7 @@ import pkg from './package.json';
|
|||
import { terser } from 'rollup-plugin-terser';
|
||||
|
||||
function distfile(insertion) {
|
||||
const f = `${pkg.name}-${pkg.version}${insertion}.js`;
|
||||
const f = `${pkg.name}${insertion}.js`;
|
||||
return `dist/${f}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue