Skip to content

Commit

Permalink
fix(core): move resources
Browse files Browse the repository at this point in the history
Make css and xml assets into ts bundle to simplify build workflow.
Move viewer related resources to `viewer`.
NOTE: now we have separated viewport.css between core and viewer. In future we have to separate package that contains these static assets.
  • Loading branch information
uetchy committed Jun 21, 2020
1 parent 52fc446 commit 1ad7bef
Show file tree
Hide file tree
Showing 18 changed files with 1,306 additions and 1,095 deletions.
3 changes: 1 addition & 2 deletions packages/core/package.json
Expand Up @@ -49,8 +49,7 @@
"module": "lib/esm/vivliostyle.js",
"browser": "lib/vivliostyle.js",
"files": [
"lib",
"resources"
"lib"
],
"publishConfig": {
"access": "public"
Expand Down
89 changes: 0 additions & 89 deletions packages/core/resources/vivliostyle-viewport-screen.css

This file was deleted.

109 changes: 0 additions & 109 deletions packages/core/resources/vivliostyle-viewport.css

This file was deleted.

0 comments on commit 1ad7bef

Please sign in to comment.