[UPD]Update to Solid 0.6.0
This commit is contained in:
parent
2513e0d8a6
commit
a9734f32c2
@ -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);
|
||||
|
16
package.json
16
package.json
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ module.exports = {
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
plugins: ['jsx-dom-expressions']
|
||||
plugins: [["jsx-dom-expressions", {moduleName: 'solid-js/dom'}]]
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
Loading…
x
Reference in New Issue
Block a user