mirror of
https://github.com/outline/outline.git
synced 2025-03-14 10:07:11 +00:00
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
{
|
|
"presets": [
|
|
"@babel/preset-react",
|
|
"@babel/preset-env",
|
|
"@babel/preset-typescript"
|
|
],
|
|
"plugins": [
|
|
"babel-plugin-transform-typescript-metadata",
|
|
[
|
|
"@babel/plugin-proposal-decorators",
|
|
{
|
|
"legacy": true
|
|
}
|
|
],
|
|
"@babel/plugin-transform-class-properties",
|
|
[
|
|
"transform-inline-environment-variables",
|
|
{
|
|
"include": [
|
|
"SOURCE_COMMIT",
|
|
"SOURCE_VERSION"
|
|
]
|
|
}
|
|
],
|
|
"tsconfig-paths-module-resolver"
|
|
],
|
|
"env": {
|
|
"production": {
|
|
"plugins": [
|
|
[
|
|
"styled-components",
|
|
{
|
|
"displayName": false
|
|
}
|
|
]
|
|
],
|
|
"ignore": [
|
|
"**/__mocks__",
|
|
"**/*.test.ts"
|
|
]
|
|
},
|
|
"development": {
|
|
"ignore": [
|
|
"**/__mocks__",
|
|
"**/*.test.ts"
|
|
]
|
|
},
|
|
"test": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"corejs": {
|
|
"version": "3",
|
|
"proposals": true
|
|
},
|
|
"useBuiltIns": "usage"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|