Skip to content

Commit

Permalink
Changed to esm build
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgorman committed Mar 8, 2020
1 parent 473a002 commit c3283c1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./dist/core.js');
export * from './dist/core';
2 changes: 1 addition & 1 deletion react.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./dist/react.js');
export * from './dist/react';
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const config = {
output: {
dir: 'dist',
entryFileNames: '[name].js',
format: 'cjs',
format: 'esm',
},
external: Object.keys(pkg.peerDependencies || {}).concat(['react-dom', 'svelte']).concat(builtins),
plugins: [
Expand Down
2 changes: 1 addition & 1 deletion rx.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./dist/rx.js');
export * from './dist/rx';
2 changes: 1 addition & 1 deletion svelte.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exports.Route = require('./dist/svelte/index.js').Route;
export * from './dist/svelte';

0 comments on commit c3283c1

Please sign in to comment.