Bug report
What is the current behavior?
It seems that external libraries are loading in different order each time.
If the current behavior is a bug, please provide the steps to reproduce.
externalsType: 'script',
externals: {
react: ['https://unpkg.com/react@17/umd/react.production.min.js', 'React'],
'react-dom': [
'https://unpkg.com/react-dom@17/umd/react-dom.production.min.js',
'ReactDOM',
],
'react-router-dom': [
'https://unpkg.com/react-router-dom/umd/react-router-dom.min.js',
'ReactRouterDOM',
],
'react-is': [
'https://unpkg.com/react-is@16.8.3/umd/react-is.production.min.js',
"ReactIs"],
'babel': ["https://unpkg.com/babel-standalone@6.26.0/babel.js", "Babel"],
}
Each time I refresh the page, sometimes it works, sometimes it doesn't. The most probable explanation I can think of is the load order.
Working:

Not working:

Is there a way to force the load order? Or is just by writing <script> in the html file? I will use <script> in the meanwhile.
What is the expected behavior?
I expected to load in the order I specified.
Other relevant information:
webpack version: 5.58.1
Node.js version: 16.5.0
Operating System: Linux Manjaro, kernel 5.10.54-1
Additional tools: yarn, webpack-merge
Bug report
What is the current behavior?
It seems that external libraries are loading in different order each time.
If the current behavior is a bug, please provide the steps to reproduce.
Each time I refresh the page, sometimes it works, sometimes it doesn't. The most probable explanation I can think of is the load order.

Working:
Not working:

Is there a way to force the load order? Or is just by writing <script> in the html file? I will use <script> in the meanwhile.
What is the expected behavior?
I expected to load in the order I specified.
Other relevant information:
webpack version: 5.58.1
Node.js version: 16.5.0
Operating System: Linux Manjaro, kernel 5.10.54-1
Additional tools: yarn, webpack-merge