Skip to content

Commit

Permalink
Package the src folder (#60)
Browse files Browse the repository at this point in the history
This adds the src folder to the package to fix the source maps.

Similar to jupyterlab/jupyterlab#14028
  • Loading branch information
fcollonval committed Jan 15, 2024
1 parent b43bcae commit 2879c2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template/package.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
},{% else %}"{{ author_name }}",{% endif %}
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}"{% if has_settings %},
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
"src/**/*.{ts,tsx}"{% if has_settings %},
"schema/*.json"{% endif %}
],
"main": "lib/index.js",
Expand Down

0 comments on commit 2879c2b

Please sign in to comment.