Skip to content

Commit

Permalink
chore(alias): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Jan 11, 2020
1 parent e4f4e9e commit e36540f
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/alias/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"slash": "^3.0.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^7.0.0",
"del-cli": "^3.0.0",
"rollup": "^1.20.0",
"rollup-plugin-node-resolve": "^5.2.0"
"rollup": "^1.27.14"
},
"ava": {
"files": [
Expand Down
7 changes: 5 additions & 2 deletions packages/alias/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import pkg from './package.json';

export default {
input: 'src/index.js',
output: [{ file: pkg.main, format: 'cjs' }, { file: pkg.module, format: 'es' }],
external: Object.keys(pkg.dependencies).concat(['path', 'fs', 'os'])
external: [...Object.keys(pkg.dependencies), 'path', 'fs', 'os'],
output: [
{ file: pkg.main, format: 'cjs' },
{ file: pkg.module, format: 'es' }
]
};
2 changes: 1 addition & 1 deletion packages/alias/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { rollup } from 'rollup';
import slash from 'slash';

// eslint-disable-next-line import/no-unresolved, import/extensions
import nodeResolvePlugin from 'rollup-plugin-node-resolve';
import nodeResolvePlugin from '@rollup/plugin-node-resolve';

import alias from '../dist';

Expand Down
37 changes: 33 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e36540f

Please sign in to comment.