mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add @ as an alias for frontend/js (#14600)
GitOrigin-RevId: 792a1f200c116b06f75c33d7373ae608aa179f8f
This commit is contained in:
parent
c1ee608e37
commit
3bbce358c6
2 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
||||||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
||||||
"skipLibCheck": true /* Skip type checking of declaration files. */,
|
"skipLibCheck": true /* Skip type checking of declaration files. */,
|
||||||
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
|
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["./frontend/js/*"]
|
||||||
|
},
|
||||||
"types": ["cypress", "@testing-library/cypress"]
|
"types": ["cypress", "@testing-library/cypress"]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|
|
@ -236,6 +236,9 @@ module.exports = {
|
||||||
|
|
||||||
// Enables ace/ace shortcut
|
// Enables ace/ace shortcut
|
||||||
ace: 'ace-builds/src-noconflict',
|
ace: 'ace-builds/src-noconflict',
|
||||||
|
|
||||||
|
// custom prefixes for import paths
|
||||||
|
'@': path.resolve(__dirname, './frontend/js/'),
|
||||||
},
|
},
|
||||||
// symlinks: false, // enable this while using `npm link`
|
// symlinks: false, // enable this while using `npm link`
|
||||||
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'],
|
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'],
|
||||||
|
|
Loading…
Reference in a new issue