@test-org122/merchant-iframe
Version:
Mediator iFrame package. This is used to sandbox the connector code away from the running hypernet core.
23 lines (21 loc) • 526 B
JavaScript
const path = require("path");
const rootWebpackConfig = require('../../webpack.config');
const HtmlWebpackPlugin = require("html-webpack-plugin");
module.exports = {
...rootWebpackConfig,
entry: path.join(__dirname, "src/index.ts"),
output: {
filename: "index.js",
path: path.join(__dirname, "/dist/bundle"),
},
devServer: {
contentBase: path.join(__dirname, "src"),
liveReload: true,
compress: true,
publicPath: "/",
port: 5005,
},
plugins: [
new HtmlWebpackPlugin({})
]
};