mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
chore: remove roleypoly/ path remappers
This commit is contained in:
parent
65a8760e86
commit
91b5c8061e
5 changed files with 0 additions and 24 deletions
|
@ -1,14 +1,8 @@
|
|||
const { pathsToModuleNameMapper } = require('ts-jest/utils');
|
||||
const { compilerOptions } = require('./tsconfig.json');
|
||||
|
||||
module.exports = {
|
||||
preset: 'ts-jest/presets/js-with-babel',
|
||||
testEnvironment: 'enzyme',
|
||||
reporters: ['default'],
|
||||
setupFilesAfterEnv: ['jest-enzyme', 'jest-styled-components', './hack/jestSetup.ts'],
|
||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, {
|
||||
prefix: '<rootDir>/',
|
||||
}),
|
||||
snapshotSerializers: ['enzyme-to-json/serializer'],
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
|
|
2
next-env.d.ts
vendored
2
next-env.d.ts
vendored
|
@ -1,2 +0,0 @@
|
|||
/// <reference types="next" />
|
||||
/// <reference types="next/types/global" />
|
|
@ -1,7 +0,0 @@
|
|||
module.exports = {
|
||||
// target: 'serverless',
|
||||
publicRuntimeConfig: {
|
||||
apiPublicURI: process.env.API_PUBLIC_URI,
|
||||
uiPublicURI: process.env.UI_PUBLIC_URI,
|
||||
},
|
||||
};
|
|
@ -1,5 +1,4 @@
|
|||
const path = require('path');
|
||||
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
||||
|
||||
const mode = process.env.NODE_ENV || 'production';
|
||||
|
||||
|
@ -13,11 +12,6 @@ module.exports = {
|
|||
mode,
|
||||
resolve: {
|
||||
extensions: ['.ts', '.tsx', '.js'],
|
||||
plugins: [
|
||||
new TsconfigPathsPlugin({
|
||||
configFile: path.resolve(__dirname, './tsconfig.json'),
|
||||
}),
|
||||
],
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
"skipLibCheck": true,
|
||||
"declaration": true,
|
||||
"moduleResolution": "node",
|
||||
"paths": {
|
||||
"roleypoly/*": ["./src/*"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": true,
|
||||
|
|
Loading…
Add table
Reference in a new issue