aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-11-23 21:48:49 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-11-23 21:48:49 +0800
commitb1474973cd2995903c5b353b2b155eeef6b16643 (patch)
treeee3865430fe5b3e4c31d0c727d4a002b1de0c0c6
parenta5359df002d121c1b7c1f29e8a2bd8b351090ee3 (diff)
downloaddexon-sol-tools-b1474973cd2995903c5b353b2b155eeef6b16643.tar.gz
dexon-sol-tools-b1474973cd2995903c5b353b2b155eeef6b16643.tar.zst
dexon-sol-tools-b1474973cd2995903c5b353b2b155eeef6b16643.zip
Copy assets in referenced in instant on commonjs build
-rw-r--r--packages/instant/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/package.json b/packages/instant/package.json
index d3a85a646..9616af54f 100644
--- a/packages/instant/package.json
+++ b/packages/instant/package.json
@@ -11,7 +11,7 @@
"build": "yarn build:all",
"build:all": "run-p build:umd:prod build:commonjs",
"build:umd:prod": "webpack --mode production",
- "build:commonjs": "tsc -b",
+ "build:commonjs": "tsc -b && shx cp -r src/assets lib",
"build:ci": "yarn build",
"watch_without_deps": "tsc -w",
"dev": "webpack-dev-server --mode development",