Skip to content

Commit

Permalink
feat: make file structure consistent than other web components
Browse files Browse the repository at this point in the history
  • Loading branch information
EnzoBatistaU committed May 17, 2024
1 parent ddd1754 commit 87a8d6c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div id="libraryContainerPlaceholder"></div>

<!-- The main library view compoment -->
<script src='./dist/librarie.js'></script>
<script src='./dist/build/librarie.js'></script>
<!-- uncomment to debug in IE11 (polyfill fetch and promise)
<script src="//cdn.jsdelivr.net/npm/[email protected]/js/browser/bluebird.min.js"></script>
<script src='https://unpkg.com/[email protected]/dist/fetch.umd.js'></script>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "cross-env NODE_ENV=production --mode=development webpack",
"bundle": "cross-env NODE_ENV=production --mode=production webpack",
"copy": "cp package.json dist/ && cp README.md dist/ && cp -r license_output dist/",
"production": "npm run bundle && npm run copy && rm -r dist/resources",
"production": "npm run bundle && npm run copy && rm -r dist/build/resources",
"serve": "npm run dev & node ./index.js",
"lic_direct": "npx @adsk/adsk-npm-license-puller --path . --app-name 'librariejs' --verbose --about-box ./license_output/about-box_direct.html --about-box-type desktop --year 2022 --paos ./license_output/paos_direct.csv",
"lic_transitive": "npx @adsk/adsk-npm-license-puller --path . --app-name 'librariejs' --verbose --about-box ./license_output/about-box_transitive.html --about-box-type desktop --transitive --year 2022 --paos ./license_output/paos_transitive.csv",
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ module.exports = {
target: "web",
output: {
filename: productionBuild ? "librarie.min.js" : "librarie.js",
path: path.join(__dirname, '/dist/'),
publicPath: "./dist/",
path: path.join(__dirname, '/dist/build/'),
publicPath: "./dist/build/",
libraryTarget: "umd",
library: "LibraryEntryPoint",
clean: true
Expand Down

0 comments on commit 87a8d6c

Please sign in to comment.