Skip to content

Conversation

@hojas
Copy link
Contributor

@hojas hojas commented Mar 20, 2018

This makes the module or the render function is undefined after bundled with webpack or other bundlers, I think remove browser will be better for modularized frontend development. If you do not agree, just close the request. Sorry for my poor English.

This makes the module or the render function is undefined after bundled with webpack or other bundlers, I think remove `browser` will be better for modularized frontend development. If you do not agree, just close the request. Sorry for my poor English.
@michael-ciniawsky michael-ciniawsky changed the title remove browser fix(package): remove browser field Mar 20, 2018
Copy link
Member

@michael-ciniawsky michael-ciniawsky left a comment

Choose a reason for hiding this comment

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

@hojas Thx

Maybe better to remove it completely in the near future🤔

Copy link
Member

@Scrum Scrum left a comment

Choose a reason for hiding this comment

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

you also need to delete:

"rollup": "^0.54.0",
"rollup-plugin-commonjs": "^8.0.0",
"rollup-plugin-uglify": "^2.0.0",

"uglify-es": "^3.0.0"

"build": "rollup -c",

files:

  • rollup.config.js
  • lib/browser.min.js
  • lib/rowser.min.js.map

Copy link
Member

@voischev voischev left a comment

Choose a reason for hiding this comment

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

ty! 🤝

@Scrum
Copy link
Member

Scrum commented Mar 20, 2018

@hojas 🤝

@Scrum Scrum merged commit b132331 into posthtml:master Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants