diff --git a/docsSrc/rollup.config.js b/docsSrc/rollup.config.mjs similarity index 100% rename from docsSrc/rollup.config.js rename to docsSrc/rollup.config.mjs diff --git a/package.json b/package.json index dd150ad1..2ea04aba 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "build": "run-p build:*", "build:cjs": "tsc", "build:esm": "tsc -m es6 --outDir esm", - "docs": "tsc -p docsSrc && rollup -c docsSrc/rollup.config.js && rm -r docsSrc/esm", + "docs": "tsc -p docsSrc && rollup -c docsSrc/rollup.config.mjs && rm -r docsSrc/esm", "fmt": "prettier --write 'docs/**/*.html' 'src/**/*.ts' 'test/**/*.ts'", "test": "run-p test:*", "test:audit": "npm audit --audit-level=low", diff --git a/rollup.config.js b/rollup.config.js deleted file mode 100644 index 15707813..00000000 --- a/rollup.config.js +++ /dev/null @@ -1,7 +0,0 @@ -export default { - input: 'esm/index.js', - output: { - file: 'dist/index.js', - format: 'cjs', - }, -}