bernd
07/31/2024, 1:57 PMjsBrowserDevelopmentRun<http://localhost:8080/myModule.js><http://localhost:8080/someDirectory/myModule.js>Bernhard
07/31/2024, 5:53 PMBernhard
07/31/2024, 5:54 PMBernhard
07/31/2024, 5:54 PMHildebrandt Tobias
08/01/2024, 9:39 AMpublicPathwebpack.config.d/webpack.config.js;(function(config) {
    config.mode = 'development'
    if(!config.hasOwnProperty('devServer')) {
        config.devServer = { }
    }
    config.devServer.host = 'developer.local'
    config.devServer.port = 8080
    config.devServer.devMiddleware = {
        publicPath: '/',
        mimeTypes: { "text/html": ["phtml"] },
    }
    config.devServer.historyApiFallback = true
})(config);bernd
08/01/2024, 10:02 AMwebpack.config.d/config.jsconfig.output.publicPath = "/someDirectory"