-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2 better state-management and routing (#30)
- Loading branch information
Showing
30 changed files
with
9,538 additions
and
434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,6 @@ jobs: | |
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: npm run lint | ||
|
||
- run: npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 16 additions & 8 deletions
24
configs/rollup.esm.config.js → configs/rollup.config.esm.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
const uglify = require('rollup-plugin-uglify') | ||
const babel = require('rollup-plugin-babel') | ||
const filesize = require('rollup-plugin-filesize') | ||
|
||
const uglify = require('rollup-plugin-uglify') | ||
const pkg = require('../package.json') | ||
|
||
const external = Object.keys(pkg.dependencies) | ||
|
||
const plugins = [ | ||
babel({ | ||
presets: [ | ||
'es2015-rollup' | ||
] | ||
['env', { | ||
modules: false, | ||
targets: { | ||
node: '4' | ||
} | ||
}] | ||
], | ||
plugins: ['external-helpers'] | ||
}), | ||
uglify(), | ||
filesize() | ||
] | ||
|
||
export default { | ||
entry: 'tram-one.js', | ||
input: 'tram-one.js', | ||
external: external, | ||
dest: pkg.main, | ||
format: 'es', | ||
plugins: plugins, | ||
sourceMap: true | ||
output: { | ||
sourcemap: true, | ||
format: 'es', | ||
file: pkg.module | ||
} | ||
} |
Oops, something went wrong.