Skip to content
Snippets Groups Projects
Commit a5e84b34 authored by Tomáš's avatar Tomáš
Browse files

fixed conflict

parents 89a19f7e 4d1920dc
No related branches found
No related tags found
1 merge request!2Release
Pipeline #11365 passed
const defaultTheme = require('tailwindcss/defaultTheme')
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
......
......@@ -5,8 +5,19 @@ module.exports = {
mode: "production",
context: __dirname,
entry: {
base: path.resolve("static_src", "base.js"),
member_group_size_calc: path.resolve("static_src", "member_group_size_calc.js"),
base: {
import: path.resolve("static_src", "base.js"),
dependOn: "shared",
},
member_group_size_calc: {
import: path.resolve("static_src", "member_group_size_calc.js"),
dependOn: "shared",
},
rv_voting_calc: {
import: path.resolve("static_src", "rv_voting_calc.js"),
dependOn: "shared",
},
shared: ["jquery"],
},
output: {
path: path.resolve(__dirname, "shared", "static", "shared"),
......@@ -20,6 +31,9 @@ module.exports = {
},
],
},
optimization: {
runtimeChunk: "single",
},
plugins: [
new BundleTracker({filename: './webpack-stats.json'})
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment