You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
428 B
JavaScript
22 lines
428 B
JavaScript
"use strict";
|
|
|
|
const budoExpress = require("budo-express");
|
|
|
|
budoExpress({
|
|
port: 3000,
|
|
expressApp: require("./src/server/app"),
|
|
basePath: __dirname,
|
|
entryFiles: "src/index.jsx",
|
|
staticPath: "dist",
|
|
bundlePath: "js/bundle.js",
|
|
livereloadPattern: "**/*.{css,html,js,svg}",
|
|
browserify: {
|
|
extensions: [".jsx"],
|
|
transform: [
|
|
["babelify", {
|
|
presets: ["@babel/preset-env", "@babel/preset-react"],
|
|
}]
|
|
]
|
|
}
|
|
});
|