mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
Added alias for public folder.
This commit is contained in:
parent
56ee52e349
commit
f62d23c9bc
@ -1,8 +1,5 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./src",
|
||||
"paths": {
|
||||
"public/*": ["./public/*"]
|
||||
}
|
||||
"baseUrl": "./src"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
require('dotenv').config();
|
||||
const path = require('path');
|
||||
const pkg = require('./package.json');
|
||||
|
||||
const contentSecurityPolicy = `
|
||||
@ -92,6 +93,8 @@ const config = {
|
||||
use: ['@svgr/webpack'],
|
||||
});
|
||||
|
||||
config.resolve.alias['public'] = path.resolve('./public');
|
||||
|
||||
return config;
|
||||
},
|
||||
async headers() {
|
||||
|
@ -21,7 +21,7 @@
|
||||
"strictNullChecks": false,
|
||||
"noEmit": true,
|
||||
"jsx": "preserve",
|
||||
"incremental": true
|
||||
"incremental": false
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
|
Loading…
Reference in New Issue
Block a user