These are chat archives for skatejs/skatejs

16th
Jan 2017
Jeremy Nagel
@jeznag
Jan 16 2017 06:47
Hey everyone - dumb question: how do I use the SkateJS inline HTML with webpack?

```➜ landing-pages git:(master) ✗ npm run webpack

landing-pages@1.0.0 webpack /Users/jeremynagel/dev/corporate-project/landing-pages
webpack

Hash: fde5fefff4b7886cf0ca
Version: webpack 1.14.0
Time: 1059ms
Asset Size Chunks Chunk Names
bundle.js 1.71 kB 0 [emitted] main
bundle.js.map 1.54 kB 0 [emitted] main

+ 2 hidden modules

ERROR in ./src/testComponent.js
Module build failed: SyntaxError: Unexpected token (11:11)

9 |
10 | renderCallback() {

11 | return <div>
| ^
12 | <style>{styles}</style>
13 | <div class="wrapper">
14 | <span class="tags"></span>

@ ./src/index.js 3:0-26
➜ landing-pages git:(master) ✗```

I can't find a getting started tutorial that explains how to set up toolchain.
Jeremy Nagel
@jeznag
Jan 16 2017 22:32
@treshugart any suggestions?
Jeremy Nagel
@jeznag
Jan 16 2017 23:09
all sorted. Just need JSX plugin. Should've guessed! Thanks trey :)