blob: 21939bece09e0162523d7f36096b572a529c5cc6 [file] [log] [blame]
/*
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
;(function (config) {
const HtmlWebpackPlugin = require('html-webpack-plugin');
config.output.filename = "[name].bundle.js"
config.plugins.push(
new HtmlWebpackPlugin({
title: 'Kotlin Coroutines JS Example'
})
)
// path from <root-build>/js/packages/example-frontend-js to src/main/web
config.resolve.modules.push("../../../../js/example-frontend-js/src/main/web");
})(config);