19 lines
544 B
JavaScript
19 lines
544 B
JavaScript
/*
|
|
* 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);
|