Skip to content

Commit 24a4acc

Browse files
committed
use plotly.js-dist-min in webpack externals
1 parent cc9e3f6 commit 24a4acc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/dash-html-components/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = (env, argv) => {
3737
const externals = ('externals' in overrides) ? overrides.externals : ({
3838
react: 'React',
3939
'react-dom': 'ReactDOM',
40-
'plotly.js': 'Plotly',
40+
'plotly.js-dist-min': 'Plotly',
4141
'prop-types': 'PropTypes'
4242
});
4343

components/dash-table/.config/webpack/base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = (options = {}) => {
3333
externals: {
3434
react: 'React',
3535
'react-dom': 'ReactDOM',
36-
'plotly.js': 'Plotly'
36+
'plotly.js-dist-min': 'Plotly'
3737
},
3838
module: {
3939
rules: [

0 commit comments

Comments
 (0)