Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix PostCSS warning on build command #1664

Merged
merged 1 commit into from
Jul 15, 2019

Commits on Jul 15, 2019

  1. fix: fix PostCSS warning on build command

    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
    ybiquitous committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    a718dcd View commit details
    Browse the repository at this point in the history