Skip to content

Commit a940efa

Browse files
committed
feat: externalize lodash
1 parent 1eeab69 commit a940efa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"repository": "https://github.com/escapace/fluent.git",
6262
"scripts": {
6363
"build": "rm -rf lib && mkdir -p lib/import lib/types && npm run build:import && npm run build:types",
64-
"build:import": "esbuild src/index.ts --bundle --minify --sourcemap --format=esm --outfile=./lib/import/index.js",
64+
"build:import": "esbuild src/index.ts --bundle --minify --sourcemap --format=esm --external:lodash-es --outfile=./lib/import/index.js",
6565
"build:types": "tsc -p ./tsconfig-declaration.json --emitDeclarationOnly --declarationDir lib/types",
6666
"lint": "ls-lint && eslint --fix 'src/**/*.ts?(x)'",
6767
"prepare": "is-ci || husky install",

0 commit comments

Comments
 (0)