Skip to content

Commit

Permalink
Add .editorconfig, fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
René Viering committed Nov 28, 2016
2 parents 92743c2 + d03f0a0 commit 7d3bbf5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
20 changes: 10 additions & 10 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ import commonjs from 'rollup-plugin-commonjs';
import sourcemaps from 'rollup-plugin-sourcemaps';

export default {
entry: 'index.js',
dest: 'dist/router.js',
format: 'umd',
moduleName: 'router',
entry: 'index.js',
dest: 'dist/router.js',
format: 'umd',
moduleName: 'router',
sourceMap: true,
plugins: [
plugins: [
resolve({
jsnext: true,
main: true,
browser: true
}),
commonjs(),
babel({
babelrc: false,
presets: ['es2015-rollup']
}),
babel({
babelrc: false,
presets: ['es2015-rollup']
}),
sourcemaps()
]
]
};
22 changes: 11 additions & 11 deletions rollup.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';

export default {
entry: 'index.js',
dest: 'dist/router.min.js',
format: 'umd',
moduleName: 'router',
plugins: [
entry: 'index.js',
dest: 'dist/router.min.js',
format: 'umd',
moduleName: 'router',
plugins: [
resolve({
jsnext: true,
main: true,
browser: true
}),
commonjs(),
babel({
babelrc: false,
presets: ['es2015-rollup']
}),
uglify()
]
babel({
babelrc: false,
presets: ['es2015-rollup']
}),
uglify()
]
};

0 comments on commit 7d3bbf5

Please sign in to comment.