Include deps in the zip

This commit is contained in:
Kuba Orlik 2022-07-10 12:32:57 +02:00
parent e31c4faa04
commit 94f054df16
2 changed files with 5 additions and 5 deletions

View File

@ -10,11 +10,11 @@
>
<link
rel="stylesheet"
href="/node_modules/survey-react/survey.css"
href="/node_modules/survey-react/survey.min.css"
/>
<link
rel="stylesheet"
href="/node_modules/survey-react/modern.css"
href="/node_modules/survey-react/modern.min.css"
/>
<link
rel="stylesheet"
@ -29,8 +29,8 @@
<body>
<div id="app"></div>
<script src="/node_modules/react/umd/react.development.js"></script>
<script src="/node_modules/react-dom/umd/react-dom.development.js"></script>
<script src="/node_modules/react/umd/react.production.min.js"></script>
<script src="/node_modules/react-dom/umd/react-dom.production.min.js"></script>
<script src="/node_modules/survey-react/survey.react.min.js"></script>
<script src="/lib/components/report-window/report-window.js"></script>
</body>

View File

@ -8,7 +8,7 @@
"build": "node esbuild.config.js",
"watch": "node esbuild.config.js --watch",
"ext-test": "web-ext run",
"create-package": "web-ext build",
"create-package": "web-ext build --ignore-files '!**/node_modules' '!**/node_modules/**/react-dom' '!**/node_modules/**/react-dom/umd' '!**/node_modules/**/*/react-dom.production.min.js' '!**/node_modules/**/react' '!**/node_modules/**/react/umd' '!**/node_modules/**/*/react.production.min.js' '!**/node_modules/**/survey-react' '!**/node_modules/**/survey-react/*.min.js' '!**/node_modules/**/survey-react/*.min.css' --overwrite-dest",
"typecheck": "tsc --noEmit",
"lint": "web-ext lint"
},