Skip to content

Commit

Permalink
add copy bundle to Demo3
Browse files Browse the repository at this point in the history
  • Loading branch information
olton committed Jan 4, 2024
1 parent 6db6422 commit 9b2022f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion easydata.js/bundles/crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "EasyData.JS bundle",
"scripts": {
"clear": "shx rm -rf dist/* docs/* lib/*",
"build": "npm run clear && rollup -c",
"build": "npm run clear && rollup -c && copyfiles -f dist/easydata.min.js ../../../playground/EasyDataAspNetCoreTest03/wwwroot/js && copyfiles -f dist/easydata.min.css ../../../playground/EasyDataAspNetCoreTest03/wwwroot/css",
"watch": "rollup -c -w"
},
"author": "Korzh.com",
Expand Down
5 changes: 5 additions & 0 deletions easydata.js/bundles/crud/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ export default [
transforms: {forOf: false}
}),
nodeResolve({ browser: true, }),
// copy({
// targets: [
// {src: './dist/easydata.min.js', dest: '../../../playground/EasyDataAspNetCoreTest03/wwwroot/js'}
// ]
// }),
],
context: "window",
output: [
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"autoprefixer": "^10.4.16",
"copyfiles": "^2.4.1",
"lerna": "^8.0.1",
"rollup": "^4.9.2",
"rollup-plugin-no-emit": "^1.1.1",
Expand Down

0 comments on commit 9b2022f

Please sign in to comment.