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

Commit

Permalink
Rename bundles to dash_renderer.(min|dev).js.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Sep 20, 2018
1 parent 97e2797 commit 2eac353
Show file tree
Hide file tree
Showing 8 changed files with 5,605 additions and 5,574 deletions.
9 changes: 3 additions & 6 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ venv/
.DS_Store
dist
*egg-info*
npm-debug*
dash_renderer/bundle.js
dash_renderer/bundle.dev.js
dash_renderer/bundle.js.map
dash_renderer/react@*.min.js
dash_renderer/react-dom@*.min.js

dash_renderer/**/*.min.js
dash_renderer/**/*.dev.js
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.29.0] - 2018-09-12
## [0.14.0] - 2018-09-20
### Added
- Unminified dev bundle support. [#77](https://github.com/plotly/dash-renderer/pull/77)

Expand Down
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include dash_renderer/bundle.js
include dash_renderer/dash_renderer.min.js
include dash_renderer/dash_renderer.dev.js
include dash_renderer/react-dom@*.min.js
include dash_renderer/react@*.min.js
4 changes: 2 additions & 2 deletions dash_renderer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def _set_react_version(react_version):

_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-renderer@{}'
'/dash_renderer/bundle.js'
Expand Down
5,563 changes: 0 additions & 5,563 deletions dash_renderer/bundle.dev.js

This file was deleted.

5,563 changes: 5,563 additions & 0 deletions dash_renderer/dash_renderer.dev.js

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions dash_renderer/dash_renderer.min.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 2eac353

Please sign in to comment.