npm install
npm start
- Check
./dist
folder, it should have abundle.js
and anassets/bundle-<hash>.css
file. (Mine wasbundle-d363bc08.css
). - Change
index.js
- Check the
./dist/assets
folder again. Has the css file changed its hash?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetchMachine = Machine({ | |
initial: 'run', | |
context: {}, | |
states: { | |
run : { | |
invoke : { | |
id : "id", | |
src : () => new Promise((resolve) => { | |
setTimeout(() => resolve({ | |
value : "VALUE", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://www.flowdock.com/app") { | |
/* Non-threaded */ | |
/* Hide the thread icons*/ | |
.bubble-container .bubble-icon { | |
display: none; | |
} | |
/* Re-enable the left border */ | |
.bubble-container .bubble { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var root = document.body | |
m.render(root, [ | |
m("main", [ | |
m("h1", {class: "title"}, "My first app"), | |
m("button", "A button"), | |
]) | |
]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var path = require("path"), | |
server = require("connect")(), | |
ecstatic = require("ecstatic")(process.cwd(), { | |
cache : 0, | |
handleError : false | |
}); |