Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Fix browserify build option and remove brower field #853

Merged
merged 4 commits into from
Nov 16, 2018

Conversation

shuse2
Copy link
Contributor

@shuse2 shuse2 commented Nov 15, 2018

What was the problem?

Browser build was not functional outside of node environment.

How did I fix it?

Remove browser key from the package.json and remove --node flag when building for browser.

How to test it?

use dist-browser/index.js and dist-browser/index.min.js from the browser.

Review checklist

mitsuaki-u
mitsuaki-u previously approved these changes Nov 15, 2018
Copy link
Contributor

@mitsuaki-u mitsuaki-u left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in browser a function for each package and working.

ishantiw
ishantiw previously approved these changes Nov 15, 2018
Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works

@yatki yatki dismissed stale reviews from ishantiw and mitsuaki-u via f6da59c November 15, 2018 16:42
@shuse2 shuse2 removed the request for review from IkerAlus November 15, 2018 16:49
@yatki yatki force-pushed the hotfix/851-browser_build_fail branch from f6da59c to df824ca Compare November 15, 2018 17:19
yatki
yatki previously approved these changes Nov 15, 2018
@shuse2 shuse2 merged commit 8c5a211 into master Nov 16, 2018
@shuse2 shuse2 deleted the hotfix/851-browser_build_fail branch November 16, 2018 09:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Cannot find module 'os' for browser build
5 participants