3const path = require("path");
4const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");
6const isWebpackDevServer = process.argv.some(
7 (a) => path.basename(a) === "webpack-dev-server"
10const isWatch = process.argv.some((a) => a === "--watch");
14 path: path.resolve(__dirname, "dist"),
15 filename: "bundle.js",
18 new MonacoWebpackPlugin({
28 loader: "purs-loader",
30 src: ["src/**/*.purs", "test/**/*.purs", "stories/**/*.purs"],
32 watch: isWebpackDevServer || isWatch,
40 use: ["style-loader", "css-loader"],
43 test: /\.(png|jpg|gif)$/i,
55 loader: "react-svg-loader",
58 test: /\.(woff|woff2|eot|ttf|otf)$/,
65 modules: ["node_modules"],
66 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