Quantcast
Channel: How to require precompiled module in another module with Webpack? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Daniel Birowsky Popeski for How to require precompiled module in...

It just needs to be resolved like shown here: https://webpack.github.io/docs/configuration.html#resolve-aliasSo in the config: resolve: { extensions: ['', '.js', '.es6'], alias: { Elm:...

View Article



How to require precompiled module in another module with Webpack?

The goal is to bundle AND make requireable a dynamically generated module.This is what I have in my Webpack config: entry: [ path.resolve('builds/intellij/scripts/elm-program.js'),'./app' ],that...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images