update,
This commit is contained in:
18
tsc1877/task1/project/admin/next.config.js
Normal file
18
tsc1877/task1/project/admin/next.config.js
Normal file
@@ -0,0 +1,18 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
trailingSlash: true,
|
||||
reactStrictMode: false,
|
||||
experimental: {
|
||||
esmExternals: false,
|
||||
jsconfigPaths: true, // enables it for both jsconfig.json and tsconfig.json
|
||||
},
|
||||
webpack: config => {
|
||||
config.resolve.alias = {
|
||||
...config.resolve.alias,
|
||||
apexcharts: path.resolve(__dirname, './node_modules/apexcharts-clevision'),
|
||||
};
|
||||
|
||||
return config;
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user