Hey all, I'm trying to create a DLL build with webpack that packages a number of npm dependencies so that they can be referenced within other webpack files. The issue I'm facing is that unlike some of the other dependencies, when I include @ArcGIS/core into the webpack.config.js entry vendor list and attempt to bundle it into the DLL build, I get errors that it cannot find a valid entry point/index.js file.
Is there a something similar to an index.js file that I can use to specify as an entry point for the @ArcGIS/core module, or is there a way I can do something similar by creating my own entry point?
For reference, this is all I'm doing in the webpack.config.js file right now:
module.exports = {
mode: "development",
cache: true,
entry: {
vendor: ["react", "@arcgis/core"]
},
plugins: [
new webpack.DllPlugin({
context: __dirname,
name: '[name]_[fullhash]',
path: path.join(__dirname, 'dist', 'manifest.json')
})
]
}