1/* 2 * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5;(function (config) { 6 const HtmlWebpackPlugin = require('html-webpack-plugin'); 7 8 config.output.filename = "[name].bundle.js" 9 10 config.plugins.push( 11 new HtmlWebpackPlugin({ 12 title: 'Kotlin Coroutines JS Example' 13 }) 14 ) 15 16 // path from <root-build>/js/packages/example-frontend-js to src/main/web 17 config.resolve.modules.push("../../../../js/example-frontend-js/src/main/web"); 18})(config); 19