3const path = require("path");
5const isWebpackDevServer = process.argv.some(
6 a => path.basename(a) === "webpack-dev-server"
9const isWatch = process.argv.some(a => a === "--watch");
13 path: path.resolve(__dirname, "dist"),
23 loader: "purs-loader",
25 src: ["src/**/*.purs", "test/**/*.purs", "stories/**/*.purs"],
27 watch: isWebpackDevServer || isWatch,
35 use: ["style-loader", "css-loader"]
38 test: /\.(png|jpg|gif)$/i,
50 loader: "react-svg-loader"
53 test: /\.(woff|woff2|eot|ttf|otf)$/,
60 modules: ["node_modules"],
61 extensions: [".purs", ".js"]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list