first commit
This commit is contained in:
23
craco.config.js
Normal file
23
craco.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const { CracoAliasPlugin } = require('react-app-alias');
|
||||
const { VanillaExtractPlugin } = require("@vanilla-extract/webpack-plugin");
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
{
|
||||
plugin: CracoAliasPlugin,
|
||||
options: {
|
||||
source: 'tsconfig',
|
||||
baseUrl: './src',
|
||||
tsConfigPath: './tsconfig.paths.json',
|
||||
},
|
||||
},
|
||||
{
|
||||
plugin: VanillaExtractPlugin,
|
||||
}
|
||||
],
|
||||
webpack: {
|
||||
configure: (webpackConfig, { env, paths }) => {
|
||||
return webpackConfig;
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user