Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Remove json from being in options.extensions, update docs on extensions accordingly #533

Merged
merged 1 commit into from
Dec 5, 2017
Merged

Remove json from being in options.extensions, update docs on extensions accordingly #533

merged 1 commit into from
Dec 5, 2017

Conversation

eliperelman
Copy link
Member

This fixes issues with the babel compiler trying to parse JSON as JS, and prevents ESLint from trying to lint JSON files. As a result, we need to add json to webpack extensions where relevant, which this PR also does. I've updated the docs accordingly.

@eliperelman
Copy link
Member Author

This also fixes the comment: #497 (comment)

Copy link
Member

@edmorley edmorley left a comment

Choose a reason for hiding this comment

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

👍

@helfi92
Copy link
Member

helfi92 commented Dec 4, 2017

👍

@eliperelman eliperelman merged commit 174ccb6 into neutrinojs:master Dec 5, 2017
timkelty pushed a commit that referenced this pull request Dec 5, 2017
@eliperelman eliperelman added the bug label Dec 5, 2017
eliperelman pushed a commit that referenced this pull request Dec 5, 2017
* Move imagemin to image-minify
Move minify to babel-minify
Make minify an aggregate

* Readme fixes, plugin const

* Allow excluding presets by passing false in `minify`

* WS

* Never pass true, {} instead

* Coerce true from web.

* Fix short circuit

* Removing log.

* Sync docs/ and packages/ and other docs fixes (#528)

* Docs: Sync the READMEs in docs/ and packages/

* Docs: Remove duplicate "zero upfront configuration" reference

Since it appears in both the "extends from" and the main features
list.

* Docs: Sync the web features list with presets that extend from it

* Docs: Fix description for react-components

* Update outstanding changes to docs and add more detailed comments (#531)

* Migrate clean options from v7 branch to master to allow all options for clean middleware (#530)

* Remove json from being in options.extensions, update docs on extensions accordingly (#533)

* Revert broken changes in image minification middleware's testing determination, do not join. (#536)

* Revert broken changes, do not join.

* Filter tests

* Filter boolean

* Udate CHANGELOG.md (#535)

* Merge test babel config in root config to deal with JSX pragma plugin precedence (#537)

* Move imagemin to image-minify
Move minify to babel-minify
Make minify an aggregate

* Allow excluding presets by passing false in `minify`

* Coerce true from web.

* Improve help/incorrect usage output of CLI (#514)

* Add option to get package.json content (#534)

* Add packageJson option to get package.json

* Wrap require statement with try catch and rename packageJson

* Revert pkgJson to packageJson

* Nits

* Remove extra blank line
* Destructure out join
* Use null instead of undefined for options.packageJson

* Use extensions in outstanding package (#532)

* Update tests

* Fix doc paths.

* Merge options, minify by default when calling directly.

* No style-minify yet
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants