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:
commit
1b348524ba
@ -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)
|
||||
|
||||
|
@ -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" },
|
||||
|
Loading…
Reference in New Issue
Block a user