d606dc6bee
* Build for Keycloak theme * Update based on lastest index.html changes. * Fix realm dropdown when home realm is not master. * Fix readme. * Fix linting errors. * Try to fix tests. * Address Jon's comments.
18 lines
442 B
JavaScript
18 lines
442 B
JavaScript
module.exports = {
|
|
extends: "@snowpack/app-scripts-react",
|
|
proxy: {
|
|
"/auth/admin": "http://localhost:8180/auth/admin/",
|
|
},
|
|
plugins: [
|
|
"@snowpack/plugin-postcss",
|
|
"@snowpack/plugin-react-refresh",
|
|
"@snowpack/plugin-typescript",
|
|
],
|
|
buildOptions: {
|
|
baseUrl: "./",
|
|
clean: true,
|
|
},
|
|
devOptions: {
|
|
out: "build/src/main/resources/admin/resources", // For snowpack 3, "out" goes under buildOptions.
|
|
},
|
|
};
|