Robert Jaros
12/12/2019, 2:05 PMbuild/js/packages/[name]/kotlin/[name].js
but resources from src/main/resources
are put into build/processedResources/Js/main/
. When I try to require
something from my code, webpack is unable to find these resources. Can it be configured somehow?Big Chungus
12/12/2019, 2:23 PMRobert Jaros
12/12/2019, 2:31 PMBig Chungus
12/12/2019, 2:32 PMBig Chungus
12/12/2019, 2:33 PMRobert Jaros
12/12/2019, 2:33 PMBig Chungus
12/12/2019, 2:34 PMBig Chungus
12/12/2019, 2:35 PMBig Chungus
12/12/2019, 2:37 PMRobert Jaros
12/12/2019, 2:52 PMBig Chungus
12/12/2019, 2:52 PMRobert Jaros
12/12/2019, 3:02 PMRobert Jaros
12/12/2019, 3:03 PMRobert Jaros
12/12/2019, 3:03 PMBig Chungus
12/12/2019, 3:03 PMBig Chungus
12/12/2019, 3:04 PMRobert Jaros
12/12/2019, 3:05 PMBig Chungus
12/12/2019, 3:06 PMRobert Jaros
12/12/2019, 5:14 PMconfig.devServer.watchOptions = {
aggregateTimeout: 1000,
poll: 100
};
makes hot reload work quite stable (even for non minified, 14MB kvision app)Big Chungus
12/12/2019, 5:15 PMBig Chungus
12/12/2019, 5:16 PMRobert Jaros
12/13/2019, 2:41 PMBig Chungus
12/13/2019, 6:38 PMRobert Jaros
12/14/2019, 11:55 AMwebpack.config.d/webpack.js
I have:
config.resolve.modules.push("../../processedResources/Js/main");