Skip to content
This repository has been archived by the owner on Jun 3, 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 101e74f commit 43924f0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include dash_core_components/bundle.js
include dash_core_components/bundle.js.map
include dash_core_components/dash_core_components.min.js
include dash_core_components/dash_core_components.dev.js
include dash_core_components/metadata.json
include dash_core_components/[email protected]
include dash_core_components/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions dash_core_components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
'namespace': 'dash_core_components'
},
{
'relative_package_path': 'bundle.js',
'relative_package_path': '{}.min.js'.format(__name__),
'dev_package_path': '{}.dev.js'.format(__name__),
'external_url': (
'https://unpkg.com/dash-core-components@{}'
'/dash_core_components/bundle.js'
).format(__version__),
'dev_package_path': 'bundle.dev.js',
'namespace': 'dash_core_components'
}
]
Expand Down

Large diffs are not rendered by default.

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 43924f0

Please sign in to comment.