mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59: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 = {
|
module.exports = {
|
||||||
preset: 'ts-jest/presets/js-with-babel',
|
preset: 'ts-jest/presets/js-with-babel',
|
||||||
testEnvironment: 'enzyme',
|
testEnvironment: 'enzyme',
|
||||||
reporters: ['default'],
|
reporters: ['default'],
|
||||||
setupFilesAfterEnv: ['jest-enzyme', 'jest-styled-components', './hack/jestSetup.ts'],
|
setupFilesAfterEnv: ['jest-enzyme', 'jest-styled-components', './hack/jestSetup.ts'],
|
||||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, {
|
|
||||||
prefix: '<rootDir>/',
|
|
||||||
}),
|
|
||||||
snapshotSerializers: ['enzyme-to-json/serializer'],
|
snapshotSerializers: ['enzyme-to-json/serializer'],
|
||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
'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 path = require('path');
|
||||||
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
|
||||||
|
|
||||||
const mode = process.env.NODE_ENV || 'production';
|
const mode = process.env.NODE_ENV || 'production';
|
||||||
|
|
||||||
|
@ -13,11 +12,6 @@ module.exports = {
|
||||||
mode,
|
mode,
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.ts', '.tsx', '.js'],
|
extensions: ['.ts', '.tsx', '.js'],
|
||||||
plugins: [
|
|
||||||
new TsconfigPathsPlugin({
|
|
||||||
configFile: path.resolve(__dirname, './tsconfig.json'),
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"paths": {
|
|
||||||
"roleypoly/*": ["./src/*"]
|
|
||||||
},
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue