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

Add contentBase config for local debugging #2815

merged 3 commits into from Mar 25, 2019


None yet
3 participants
Copy link

xintongxia commented Mar 20, 2019


When debugging locally, I need manually change the docs url each time, I would like to automatically switch to correct url when env changed.

Change List

  • webpack config in website/
  • docs url prefix

@xintongxia xintongxia requested a review from Pessimistress Mar 20, 2019


This comment has been minimized.

Copy link

coveralls commented Mar 20, 2019

Coverage Status

Coverage increased (+0.06%) to 59.305% when pulling e21ef32 on xx/website into e1514a0 on master.

plugins: [
].map(name => require.resolve(`babel-plugin-${name}`))
presets: ['es2015', 'stage-2', 'react'].map(name => require.resolve(`babel-preset-${name}`)),

This comment has been minimized.

Copy link

Pessimistress Mar 20, 2019


The map call is no longer necessary.

This comment has been minimized.

Copy link

xintongxia Mar 22, 2019

Author Contributor

It is needed website still in babel 6. I can upgrade to 7.

Show resolved Hide resolved website/webpack.config.js
Add contentBase config for local debugging

Add docs webpack config

replace webpack config with release version

@xintongxia xintongxia force-pushed the xx/website branch from 96d656b to 0be0dec Mar 22, 2019

xintongxia added some commits Mar 22, 2019

@Pessimistress Pessimistress merged commit 5802b6f into master Mar 25, 2019

3 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed
license/cla Contributor License Agreement is signed.

@Pessimistress Pessimistress deleted the xx/website branch Mar 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.