diff --git a/package.json b/package.json index 3fcf400833..f7a6119bc5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "dist/o-spreadsheet.cjs.js", "browser": "dist/o-spreadsheet.iife.js", "module": "dist/o-spreadsheet.es.js", - "types": "dist/o_spreadsheet.d.ts", + "types": "dist/o-spreadsheet.d.ts", "files": [ "dist/*.js", "dist/*.d.ts" diff --git a/rollup.config.js b/rollup.config.js index 82d7e137e3..c31019f583 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -25,7 +25,7 @@ __info__.hash = '${commitHash}'; */ function getConfigForFormat(format, minified = false) { return { - file: minified ? `dist/o_spreadsheet.${format}.min.js` : `dist/o_spreadsheet.${format}.js`, + file: minified ? `dist/o-spreadsheet.${format}.min.js` : `dist/o-spreadsheet.${format}.js`, format, name: "o_spreadsheet", extend: true, @@ -78,7 +78,7 @@ export default (commandLineArgs) => { }, { input: "dist/types/index.d.ts", - output: [{ file: "dist/o_spreadsheet.d.ts", format: "es" }], + output: [{ file: "dist/o-spreadsheet.d.ts", format: "es" }], plugins: [dts(), nodeResolve()], }, ];