diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/karma.conf.js b/karma.conf.cjs similarity index 100% rename from karma.conf.js rename to karma.conf.cjs diff --git a/package.json b/package.json index b3260fb..bfe3233 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,10 @@ "name": "referentiel", "version": "2.0.1", "description": "Convert position relative to a html element.", - "main": "dist/referentiel.umd.js", - "types": "dist/referentiel.d.ts", - "module": "dist/referentiel.js", "directories": { "test": "test" }, + "type": "module", "files": [ "dist", "src" diff --git a/webpack.config.js b/webpack.config.cjs similarity index 100% rename from webpack.config.js rename to webpack.config.cjs