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

Commit ac6389b

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

File tree

6 files changed

+1785
-1784
lines changed

6 files changed

+1785
-1784
lines changed

MANIFEST.in

+2-1
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

+2-2
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

-1,780
This file was deleted.

dash_html_components/dash_html_components.dev.js

+1,780
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

+1-1
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)