mirror of
https://github.com/c8r/x0.git
synced 2024-09-11 13:45:52 +03:00
Merge pull request #60 from c8r/escape-template-strings
Bump jsx loader for better template string support in jsx files
This commit is contained in:
commit
2c88e14ad0
12
package.json
12
package.json
@ -9,7 +9,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "./cli.js docs -op 8888",
|
"start": "./cli.js docs -op 8888",
|
||||||
"build": "./cli.js build docs",
|
"build": "./cli.js build docs",
|
||||||
"test": "nyc ava",
|
"test": "ava -T 20s",
|
||||||
"cover": "nyc report --reporter=html --reporter=lcov"
|
"cover": "nyc report --reporter=html --reporter=lcov"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -27,7 +27,7 @@
|
|||||||
"author": "Brent Jackson",
|
"author": "Brent Jackson",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@compositor/jsx-loader": "^1.0.0-3",
|
"@compositor/jsx-loader": "^1.0.0-4",
|
||||||
"@compositor/log": "^1.0.0-0",
|
"@compositor/log": "^1.0.0-0",
|
||||||
"@mdx-js/loader": "^0.9.0",
|
"@mdx-js/loader": "^0.9.0",
|
||||||
"@mdx-js/mdx": "^0.9.0",
|
"@mdx-js/mdx": "^0.9.0",
|
||||||
@ -47,7 +47,7 @@
|
|||||||
"find-up": "^2.1.0",
|
"find-up": "^2.1.0",
|
||||||
"fs-extra": "^6.0.1",
|
"fs-extra": "^6.0.1",
|
||||||
"glamor": "^2.20.40",
|
"glamor": "^2.20.40",
|
||||||
"html-minifier": "^3.5.15",
|
"html-minifier": "^3.5.16",
|
||||||
"koa-connect": "^2.0.1",
|
"koa-connect": "^2.0.1",
|
||||||
"meow": "^5.0.0",
|
"meow": "^5.0.0",
|
||||||
"mini-html-webpack-plugin": "^0.2.3",
|
"mini-html-webpack-plugin": "^0.2.3",
|
||||||
@ -60,17 +60,17 @@
|
|||||||
"read-pkg-up": "^3.0.0",
|
"read-pkg-up": "^3.0.0",
|
||||||
"semver": "^5.5.0",
|
"semver": "^5.5.0",
|
||||||
"update-notifier": "^2.5.0",
|
"update-notifier": "^2.5.0",
|
||||||
"webpack": "^4.8.3",
|
"webpack": "^4.10.2",
|
||||||
"webpack-merge": "^4.1.2",
|
"webpack-merge": "^4.1.2",
|
||||||
"webpack-serve": "^1.0.2"
|
"webpack-serve": "^1.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@compositor/logo": "^1.3.5",
|
"@compositor/logo": "^1.3.5",
|
||||||
"@compositor/md-loader": "^1.0.27",
|
"@compositor/md-loader": "^1.0.34",
|
||||||
"ava": "^0.25.0",
|
"ava": "^0.25.0",
|
||||||
"isomorphic-fetch": "^2.2.1",
|
"isomorphic-fetch": "^2.2.1",
|
||||||
"nano-style": "^1.0.0",
|
"nano-style": "^1.0.0",
|
||||||
"nyc": "^11.8.0",
|
"nyc": "^12.0.1",
|
||||||
"raw-loader": "^0.5.1",
|
"raw-loader": "^0.5.1",
|
||||||
"rebass": "^2.0.0-2",
|
"rebass": "^2.0.0-2",
|
||||||
"refunk": "^3.0.1",
|
"refunk": "^3.0.1",
|
||||||
|
5
test/components/compositor.jsx
Normal file
5
test/components/compositor.jsx
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
className: beep
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 className={`${props.className} boop`}>Hello</h1>
|
Loading…
Reference in New Issue
Block a user