0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/ui/razzle.config.js

21 lines
365 B
JavaScript
Raw Normal View History

2021-07-11 08:08:38 -05:00
"use strict";
const path = require("path");
module.exports = {
options: {
buildType: "spa",
},
plugins: ["scss"],
modifyWebpackConfig: ({ webpackConfig }) => {
/** @type {import('webpack').Configuration} **/
2021-07-11 08:08:38 -05:00
const config = { ...webpackConfig };
config.resolve.alias = {
"@": path.resolve("src/"),
};
return config;
},
};