Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Rename bundle to lib name.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Sep 13, 2018
1 parent d36234d commit ac6389b
Show file tree
Hide file tree
Showing 6 changed files with 1,785 additions and 1,784 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include dash_html_components/bundle.js
include dash_html_components/dash_html_components.min.js
include_dash_html_components/dash_html_components.dev.js
include dash_html_components/bundle.js.map
include dash_html_components/metadata.json
include README.md
Expand Down
4 changes: 2 additions & 2 deletions dash_html_components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

_js_dist = [
{
"relative_package_path": "bundle.js",
"dev_package_path": "bundle.dev.js",
"relative_package_path": '{}.min.js'.format(__name__),
"dev_package_path": '{}.dev.js'.format(__name__),
"external_url": (
"https://unpkg.com/dash-html-components@{}"
"/dash_html_components/bundle.js"
Expand Down
1,780 changes: 0 additions & 1,780 deletions dash_html_components/bundle.dev.js

This file was deleted.

1,780 changes: 1,780 additions & 0 deletions dash_html_components/dash_html_components.dev.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = (env, argv) => ({
entry: {main: './src/index.js'},
output: {
path: path.resolve(__dirname, dashLibraryName),
filename: argv.mode === 'development' ? 'bundle.dev.js' : 'bundle.js',
filename: argv.mode === 'development' ? `${dashLibraryName}.dev.js` : `${dashLibraryName}.min.js`,
library: dashLibraryName,
libraryTarget: 'window'
},
Expand Down

0 comments on commit ac6389b

Please sign in to comment.