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

Commit cd9027b

Browse files
committed
Rename bundle to lib name.
1 parent d36234d commit cd9027b

File tree

7 files changed

+1786
-1785
lines changed

7 files changed

+1786
-1785
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## [0.13.0] - 2018-09-11
5+
## [0.13.0] - 2018-09-20
66
### Added
77
- Unminified dev bundle support. [#64](https://github.com/plotly/dash-html-components/pull/64)
88

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
include dash_html_components/bundle.js
1+
include dash_html_components/dash_html_components.min.js
2+
include_dash_html_components/dash_html_components.dev.js
23
include dash_html_components/bundle.js.map
34
include dash_html_components/metadata.json
45
include README.md

dash_html_components/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636

3737
_js_dist = [
3838
{
39-
"relative_package_path": "bundle.js",
40-
"dev_package_path": "bundle.dev.js",
39+
"relative_package_path": '{}.min.js'.format(__name__),
40+
"dev_package_path": '{}.dev.js'.format(__name__),
4141
"external_url": (
4242
"https://unpkg.com/dash-html-components@{}"
4343
"/dash_html_components/bundle.js"

dash_html_components/bundle.dev.js

Lines changed: 0 additions & 1780 deletions
This file was deleted.

dash_html_components/dash_html_components.dev.js

Lines changed: 1780 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = (env, argv) => ({
77
entry: {main: './src/index.js'},
88
output: {
99
path: path.resolve(__dirname, dashLibraryName),
10-
filename: argv.mode === 'development' ? 'bundle.dev.js' : 'bundle.js',
10+
filename: argv.mode === 'development' ? `${dashLibraryName}.dev.js` : `${dashLibraryName}.min.js`,
1111
library: dashLibraryName,
1212
libraryTarget: 'window'
1313
},

0 commit comments

Comments
 (0)