Skip to content

Commit

Permalink
Update obsolete documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
constgen committed Aug 6, 2017
1 parent 7d799a2 commit ce70ab3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Neutrino Svelte preset

[![Greenkeeper badge](https://badges.greenkeeper.io/constgen/neutrino-preset-svelte.svg)](https://greenkeeper.io/)

[![npm](https://img.shields.io/npm/v/neutrino-preset-svelte.svg)](https://www.npmjs.com/package/neutrino-preset-svelte)
[![npm](https://img.shields.io/npm/dt/neutrino-preset-svelte.svg)](https://www.npmjs.com/package/neutrino-preset-svelte)
[![Greenkeeper badge](https://badges.greenkeeper.io/constgen/neutrino-preset-svelte.svg)](https://greenkeeper.io/)

`neutrino-preset-svelte` is a [Neutrino](https://neutrino.js.org) preset for creation of [Svelte](https://svelte.technology) applications for web platforms.

Expand Down Expand Up @@ -128,16 +127,16 @@ module.exports = {
}
},

// options related to starting a development server
// options related to a development server
server: {
https: false,
host: '0.0.0.0',
public: true,
port: 5000,
open: true,
contentBase: neutrino.options.source
},

// supported browsers in Browser List format
// supported browsers in a Browser List format
browsers: [
'last 3 chrome versions',
'last 3 firefox versions',
Expand Down Expand Up @@ -177,7 +176,7 @@ module.exports = {
title: 'Svelte App'
},

// Example: change supported browsers list
// Example: change supported browsers
browsers: [
'last 3 versions'
]
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ module.exports = function (neutrino, options = {}) {
neutrino.use(chunk)
}
if (devRun) {
neutrino.use(devServer, options.server)
neutrino.use(devServer, merge({ public: true }, options.server))
}
else {
neutrino.use(progress)
Expand Down

0 comments on commit ce70ab3

Please sign in to comment.