[UPD]Update to Solid 0.6.0

This commit is contained in:
Fabien BOURGEOIS 2019-05-07 15:56:05 +02:00
parent 2513e0d8a6
commit a9734f32c2
3 changed files with 9 additions and 10 deletions

View File

@ -3,7 +3,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import { createRoot, createSignal, createState, createEffect } from 'solid-js';
import { r } from 'solid-js/dom';
function createLocalState(initState) {
const [state, setState] = createState(initState);

View File

@ -16,16 +16,16 @@
},
"private": true,
"dependencies": {
"babel-plugin-jsx-dom-expressions": "~0.7.0",
"polka": "^0.5.2",
"sirv": "^0.4.0",
"solid-js": "~0.5.0"
"sirv": "^0.4.0"
},
"devDependencies": {
"@babel/core": "^7.1.0",
"@babel/preset-env": "^7.4.3",
"babel-loader": "^8.0.2",
"webpack": "^4.19.1",
"webpack-cli": "^3.1.0"
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"babel-loader": "^8.0.5",
"babel-plugin-jsx-dom-expressions": "^0.8.0",
"solid-js": "~0.6.1",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.2"
}
}

View File

@ -19,7 +19,7 @@ module.exports = {
use: {
loader: 'babel-loader',
options: {
plugins: ['jsx-dom-expressions']
plugins: [["jsx-dom-expressions", {moduleName: 'solid-js/dom'}]]
}
}
}]