Skip to content

Commit

Permalink
fix(package): remove src directory and fix typings location
Browse files Browse the repository at this point in the history
Related to #2857
  • Loading branch information
jasonaden committed Sep 26, 2017
1 parent 2e576dc commit d1d388e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .make-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const CJS_PKG = PKG_ROOT + '_cjs/';
const ESM5_PKG = PKG_ROOT + '_esm5/';
const ESM2015_PKG = PKG_ROOT + '_esm2015/';
const UMD_PKG = PKG_ROOT + 'bundles/';
const TYPE_PKG = PKG_ROOT + '_typings/';
const TYPE_PKG = PKG_ROOT;


// License info for minified files
Expand All @@ -35,7 +35,7 @@ let rootPackageJson = Object.assign({}, pkg, {
main: './_cjs/Rx.js',
module: './_esm5/Rx.js',
es2015: './_esm2015/Rx.js',
typings: './_typings/Rx.d.ts'
typings: './Rx.d.ts'
});

// Read the files and create package.json files for each. This allows Node,
Expand Down Expand Up @@ -84,7 +84,6 @@ klawSync(CJS_ROOT, {
mkdirp.sync(PKG_ROOT);

// Copy over the sources
copySources('src/', PKG_ROOT + 'src/');
copySources(CJS_ROOT, CJS_PKG);
copySources(ESM5_ROOT, ESM5_PKG);
copySources(ESM2015_ROOT, ESM2015_PKG);
Expand Down

0 comments on commit d1d388e

Please sign in to comment.