Résolution du problème du nouveau site /publicodes
parent
0237e1c84a
commit
2840acf7b4
|
@ -1,7 +1,7 @@
|
|||
import 'iframe-resizer'
|
||||
import React from 'react'
|
||||
import { render } from 'react-dom'
|
||||
import App from '../publi.codes/App'
|
||||
import App from './App'
|
||||
|
||||
let anchor = document.querySelector('#js')
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ class App extends Component {
|
|||
render() {
|
||||
return (
|
||||
<Provider
|
||||
basename="embauche"
|
||||
basename="publicodes"
|
||||
initialStore={{ targetNames: ['impact'] }}
|
||||
reduxMiddlewares={[]}>
|
||||
<Switch>
|
||||
|
|
|
@ -29,11 +29,7 @@ module.exports = {
|
|||
publicodes: ['./source/sites/publi.codes/entry.js']
|
||||
},
|
||||
output: {
|
||||
path: path.resolve('./dist/'),
|
||||
filename: ({ chunk }) =>
|
||||
['dist/simulateur'].includes(chunk.name)
|
||||
? '[name].js'
|
||||
: '[name].[hash].js'
|
||||
path: path.resolve('./dist/')
|
||||
},
|
||||
module: {
|
||||
rules: [...web, ...universal]
|
||||
|
|
Loading…
Reference in New Issue