mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
19 lines
313 B
JavaScript
19 lines
313 B
JavaScript
"use strict";
|
|
|
|
const path = require("path");
|
|
|
|
module.exports = {
|
|
options: {
|
|
buildType: "spa",
|
|
},
|
|
plugins: ["scss"],
|
|
modifyWebpackConfig: ({ webpackConfig }) => {
|
|
const config = { ...webpackConfig };
|
|
|
|
config.resolve.alias = {
|
|
"@": path.resolve("src/"),
|
|
};
|
|
|
|
return config;
|
|
},
|
|
};
|