diff --git a/src/danfojs-browser/package.json b/src/danfojs-browser/package.json index 9ac8aeb9..4148ad95 100644 --- a/src/danfojs-browser/package.json +++ b/src/danfojs-browser/package.json @@ -34,7 +34,7 @@ "build:clean": "rimraf ./dist && rimraf ./lib && node ./scripts/prebuild.js && yarn run build", "dev": "nodemon", "lint": "eslint ./src", - "bundle": "webpack --mode development", + "bundle": "webpack --mode production", "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", "coverage": "nyc report --reporter=text-lcov | coveralls && nyc report --reporter=lcov", "patch": "npm version patch" diff --git a/src/danfojs-browser/tsconfig.json b/src/danfojs-browser/tsconfig.json index 858b089b..a17d71ae 100644 --- a/src/danfojs-browser/tsconfig.json +++ b/src/danfojs-browser/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ - "module": "es2015", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ + "module": "CommonJS", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ "moduleResolution": "node", "lib": ["es6", "dom"], /* Specify library files to be included in the compilation. */ "allowJs": true, /* Allow javascript files to be compiled. */