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

fixed conflict

parents 89a19f7e 4d1920dc
Branches
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} */ /** @type {import('tailwindcss').Config} */
module.exports = { module.exports = {
......
...@@ -5,8 +5,19 @@ module.exports = { ...@@ -5,8 +5,19 @@ module.exports = {
mode: "production", mode: "production",
context: __dirname, context: __dirname,
entry: { entry: {
base: path.resolve("static_src", "base.js"), base: {
member_group_size_calc: path.resolve("static_src", "member_group_size_calc.js"), 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: { output: {
path: path.resolve(__dirname, "shared", "static", "shared"), path: path.resolve(__dirname, "shared", "static", "shared"),
...@@ -20,6 +31,9 @@ module.exports = { ...@@ -20,6 +31,9 @@ module.exports = {
}, },
], ],
}, },
optimization: {
runtimeChunk: "single",
},
plugins: [ plugins: [
new BundleTracker({filename: './webpack-stats.json'}) 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