🐛 corrige l'affichage de l'editeur dans le studio
parent
643aac67f6
commit
5d74d44d39
|
@ -95,6 +95,7 @@
|
|||
"i18n:rules:translate": "node source/scripts/i18n/translate-rules.js",
|
||||
"i18n:ui:check": "yarn run i18next && node source/scripts/i18n/check-missing-UI-translation",
|
||||
"i18n:ui:translate": "rm -rf source/locales/static-analysis-fr.json && yarn run i18next && node source/scripts/i18n/translate-ui.js",
|
||||
"publicodes:serve": "PORT=5002 serve --config serve.publicodes.json --no-clipboard",
|
||||
"mon-entreprise:serve": "PORT=5000 serve --config serve.mon-entreprise.json --no-clipboard",
|
||||
"mon-entreprise:test": "cypress open --browser chromium",
|
||||
"mycompanyinfrance:serve": "PORT=5001 serve --config serve.infrance.json --no-clipboard",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"rewrites": [{ "source": "**", "destination": "publicodes.html" }],
|
||||
"public": "dist"
|
||||
}
|
|
@ -145,7 +145,6 @@ function evaluate(
|
|||
}
|
||||
|
||||
const evaluation = evaluate(node.explanation.rule)
|
||||
console.log(evaluation)
|
||||
const temporalValue = evaluation.temporalValue
|
||||
const evaluationWithRegularisation = groupByYear(
|
||||
temporalValue as Temporal<Evaluation<number>>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
const { map } = require('ramda')
|
||||
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
|
||||
|
||||
const prod = require('./webpack.prod.js')
|
||||
const {
|
||||
commonLoaders,
|
||||
|
@ -19,6 +21,7 @@ module.exports = {
|
|||
},
|
||||
plugins: [
|
||||
...HTMLPlugins({ injectTrackingScript: true }),
|
||||
new MonacoWebpackPlugin(),
|
||||
new EnvironmentPlugin({
|
||||
EN_SITE: '/infrance${path}',
|
||||
FR_SITE: '/mon-entreprise${path}'
|
||||
|
|
Loading…
Reference in New Issue