Skip to content

Commit

Permalink
refactor(docs): fix docs version
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Apr 19, 2019
1 parent eadc04a commit db71c52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@
src="https://unpkg.com/react-is@16/umd/react-is.development.js"
></script>

<script type="text/javascript" src="//unpkg.com/@uform/docs/0.1.5/bundle.iframe.js"></script></body>
<script type="text/javascript" src="//unpkg.com/@uform/docs@0.1.5/bundle.iframe.js"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@
src="https://unpkg.com/react-is@16/umd/react-is.development.js"
></script>

<script type="text/javascript" src="//unpkg.com/@uform/docs/0.1.5/bundle.index.js"></script></body>
<script type="text/javascript" src="//unpkg.com/@uform/docs@0.1.5/bundle.index.js"></script></body>
</html>
2 changes: 1 addition & 1 deletion scripts/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const createDocs = async () => {
(webpackConfig, env) => {
if (env === 'production') {
webpackConfig.output.filename = 'bundle.[name].js'
webpackConfig.output.publicPath = `//unpkg.com/@uform/docs/${pkg.version}`
webpackConfig.output.publicPath = `//unpkg.com/@uform/docs@${pkg.version}`
webpackConfig.plugins.forEach(plugin => {
if (plugin.constructor.name === 'HtmlWebpackPlugin') {
plugin.options.filename = path.resolve(
Expand Down

0 comments on commit db71c52

Please sign in to comment.