1
1
mirror of https://github.com/c8r/x0.git synced 2024-08-16 17:00:24 +03:00

Merge pull request #57 from c8r/no-dev-basename

Ignore basename option in dev
This commit is contained in:
Brent Jackson 2018-05-27 16:46:38 -04:00 committed by GitHub
commit 1b348524ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ const dev = {
}
module.exports = async (opts) => {
if (opts.basename) delete opts.basename
const config = merge(baseConfig, opts.webpack)
const template = createTemplate(opts)

View File

@ -8,7 +8,7 @@
},
"scripts": {
"start": "./cli.js docs -op 8888",
"build": "./cli.js build docs --basename '/x0'",
"build": "./cli.js build docs",
"test": "nyc ava",
"cover": "nyc report --reporter=html --reporter=lcov"
},
@ -69,7 +69,7 @@
},
"x0": {
"title": "Compositor x0",
"_basename": "/x0",
"basename": "/x0",
"meta": [
{ "name": "description", "content": "Zero-config React development environment and static site generator" },
{ "name": "twitter:card", "content": "summary" },