From 2ac8cf30773f87eebec427dbffa3833420bd3c9d Mon Sep 17 00:00:00 2001 From: Darek Rossman Date: Fri, 28 Apr 2017 08:58:01 -0400 Subject: [PATCH] Do not ignore story.js in prepublish This is causing an issue with addons-info as it ends up ignoring `Story.js` during compilation. Seems there are case-similar files in other addon packages called `story.js` that were supposed to be ignored from output... However, this seems like the quickest fix that doesn't really have an impact on other packages. --- scripts/prepublish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepublish.js b/scripts/prepublish.js index 9ddf58cdc511..147b25dbe321 100644 --- a/scripts/prepublish.js +++ b/scripts/prepublish.js @@ -6,7 +6,7 @@ const babel = path.join(__dirname, '..', 'node_modules', '.bin', 'babel'); require('./ver'); const args = [ - '--ignore tests,__tests__,test.js,stories/,story.jsx,story.js', + '--ignore tests,__tests__,test.js,stories/,story.jsx', '--plugins "transform-runtime"', './src --out-dir ./dist', '--copy-files',