keycloak-scim/snowpack.config.js
Stan Silvert d606dc6bee
Run as theme (#840)
* 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.
2021-07-14 11:35:49 -04:00

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.
},
};