Skip to content

Commit aa5950c

Browse files
Issue 90 - Rename async modules (#91)
1 parent 3aabfa3 commit aa5950c

11 files changed

+18
-14
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a
66
Changelog](http://keepachangelog.com/en/1.0.0/) and this project
77
adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
88

9+
## [Unreleased]
10+
### Changed
11+
* [#91](https://github.com/plotly/dash-daq/pull/91) Renamed async modules with hyphen `-` instead of tilde `~`
12+
913
## [0.3.3] - 2020-01-23
1014
### Changed
1115
* [#82](https://github.com/plotly/dash-daq/pull/82) Updated `rc-slider` package and `daq.Slider` styling.

MANIFEST.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include dash_daq/dash_daq.min.js
22
include dash_daq/dash_daq.min.js.map
3-
include dash_daq/async~*.js
4-
include dash_daq/async~*.js.map
3+
include dash_daq/async-*.js
4+
include dash_daq/async-*.js.map
55
include dash_daq/metadata.json
66
include dash_daq/package-info.json
77
include README.md

dash_daq/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@
2626
_js_dist = []
2727

2828
_js_dist.extend([{
29-
'relative_package_path': 'async~{}.js'.format(async_resource),
29+
'relative_package_path': 'async-{}.js'.format(async_resource),
3030
'external_url': (
3131
'https://unpkg.com/dash-daq@{}'
32-
'/dash_daq/async~{}.js'
32+
'/dash_daq/async-{}.js'
3333
).format(__version__, async_resource),
3434
'namespace': 'dash_daq',
3535
'async': True
3636
} for async_resource in async_resources])
3737

3838
_js_dist.extend([{
39-
'relative_package_path': 'async~{}.js.map'.format(async_resource),
39+
'relative_package_path': 'async-{}.js.map'.format(async_resource),
4040
'external_url': (
4141
'https://unpkg.com/dash-daq@{}'
42-
'/dash_daq/async~{}.js.map'
42+
'/dash_daq/async-{}.js.map'
4343
).format(__version__, async_resource),
4444
'namespace': 'dash_daq',
4545
'dynamic': True

dash_daq/async~colorpicker.js renamed to dash_daq/async-colorpicker.js

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

dash_daq/async-colorpicker.js.map

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

dash_daq/async~slider.js renamed to dash_daq/async-slider.js

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

dash_daq/async~slider.js.map renamed to dash_daq/async-slider.js.map

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

dash_daq/async~colorpicker.js.map

-1
This file was deleted.

dash_daq/dash_daq.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/dash_daq.min.js.map

+1-1
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
@@ -90,7 +90,7 @@ module.exports = (env, argv) => {
9090
chunks: 'async',
9191
minSize: 0,
9292
name(module, chunks, cacheGroupKey) {
93-
return `${cacheGroupKey}~${chunks[0].name}`;
93+
return `${cacheGroupKey}-${chunks[0].name}`;
9494
}
9595
}
9696
}

0 commit comments

Comments
 (0)