Skip to content

Commit

Permalink
fix serve configuration to actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
tswaters committed Dec 8, 2019
1 parent e21d4fe commit 8ee43a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
href="https://unpkg.com/bootstrap@4.3.1/dist/css/bootstrap.min.css"
/>
<script src="https://unpkg.com/@babel/standalone/babel.js"></script>
<script src="babel-preset.js"></script>
<script src="/babel-preset.js"></script>
<script src="https://unpkg.com/react@16.11.0/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16.11.0/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/prop-types@15.7.2/prop-types.min.js"></script>
<script src="/dist/index.umd.js"></script>
<script src="/index.umd.js"></script>

<style>
.loading .form-control,
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const config = (format, file, minify, server = false) => ({
serve({
port: 8001,
host: '0.0.0.0',
path: 'index.html',
contentBase: ['dist', 'node_modules'],
path: 'examples/index.html',
contentBase: ['examples', 'dist', 'node_modules'],
open: false,
wait: 500
})
Expand Down

0 comments on commit 8ee43a1

Please # to comment.