docusaurus/packages/docusaurus-1.x/lib/server
Masafumi Koba d77f5538c2 fix: fix PostCSS warning on build command (#1664)
The warning is produced on `cssnano` call. See below:

> Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.

Reproduction:

```shell
mkdir work
cd work
npx docusaurus-init
cd website
yarn install
yarn run build
```

Environments:

- Node: 12.6.0
- Yarn: 1.17.3
2019-07-15 18:08:06 +08:00
..
__mocks__ chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
__tests__ v1.11.1 (#1592) 2019-06-08 10:56:21 -07:00
blog.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
config.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
docs.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
env.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
feed.js feat: make blog posts unlisted only in production 2019-06-15 10:32:43 -07:00
generate.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
liveReloadServer.js feat: allow different host through CLI flag (#1475) 2019-05-20 23:31:41 +07:00
metadataUtils.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
readCategories.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
readMetadata.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
renderUtils.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
routing.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
server.js fix: enable live reloading title of doc (#1507) 2019-05-27 14:48:01 +07:00
sitemap.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
start.js feat: allow different host through CLI flag (#1475) 2019-05-20 23:31:41 +07:00
translate-plugin.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
translate.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
translation.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
utils.js fix: fix PostCSS warning on build command (#1664) 2019-07-15 18:08:06 +08:00
versionFallback.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00