diff --git a/source/entry-colour-chooser.js b/source/entry-colour-chooser.js index e60637af5..520497caf 100644 --- a/source/entry-colour-chooser.js +++ b/source/entry-colour-chooser.js @@ -8,8 +8,10 @@ import reducers from './reducers/reducers' import { changeThemeColour } from './actions' import Layout from './containers/Layout' import { SliderPicker } from 'react-color' +import { rules, rulesFr } from 'Engine/rules' +import lang from './i18n' -let store = createStore(reducers) +let store = createStore(reducers(rulesFr)) @connect( state => ({ couleur: state.themeColours.colour }), diff --git a/source/webpack.dev.js b/source/webpack.dev.js index fde3faaa1..a39dcce7f 100644 --- a/source/webpack.dev.js +++ b/source/webpack.dev.js @@ -18,8 +18,8 @@ module.exports = { // // le nom "simulateur" est là pour des raisons historiques // - // simulateur: './source/iframe-script.js', - // 'colour-chooser': ['@babel/polyfill', './source/entry-colour-chooser.js'] + // ,simulateur: './source/iframe-script.js', + // ,colour-chooser': ['@babel/polyfill', './source/entry-colour-chooser.js'] }, plugins: [ new webpack.EnvironmentPlugin({ NODE_ENV: 'development' }),