Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

chore(build): add source map support #654

Merged
merged 4 commits into from
Apr 23, 2019
Merged

chore(build): add source map support #654

merged 4 commits into from
Apr 23, 2019

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Apr 23, 2019

this creates two new files:

//# sourceMappingURL=algoliasearch.helper.js.map
//# sourceMappingURL=dist/algoliasearch.helper.min.js.map
  • add exorcist for having the source map via browserify (otherwise only inline)
  • add appropriate options for uglifyJS

Further nothing is changed. This setup is compatible with source-map-explorer

IFW-622

this creates two new files:

```
//# sourceMappingURL=algoliasearch.helper.js.map
//# sourceMappingURL=dist/algoliasearch.helper.min.js.map
```

- add exorcist for having the source map via browserify (otherwise only inline)
- add appropriate options for uglifyJS

Further nothing is changed. This setup is compatible with `source-map-explorer`

IFW-622
@Haroenv Haroenv requested a review from a team April 23, 2019 13:21
@Haroenv
Copy link
Contributor Author

Haroenv commented Apr 23, 2019

output: https://gist.github.com/Haroenv/4c0f4ca8bf820f5b9f358efef81c3280 (the only diff is the last line in the bundles)

package.json Outdated Show resolved Hide resolved
@Haroenv
Copy link
Contributor Author

Haroenv commented Apr 23, 2019

it's pinned now @francoischalifour

scripts/build.sh Outdated Show resolved Hide resolved
Co-Authored-By: Haroenv <fingebimus@me.com>
@Haroenv Haroenv merged commit 74b715b into develop Apr 23, 2019
@Haroenv Haroenv deleted the chore/source-maps branch April 23, 2019 15:03
Haroenv added a commit that referenced this pull request May 7, 2019
* chore(build): add source map support

this creates two new files:

```
//# sourceMappingURL=algoliasearch.helper.js.map
//# sourceMappingURL=dist/algoliasearch.helper.min.js.map
```

- add exorcist for having the source map via browserify (otherwise only inline)
- add appropriate options for uglifyJS

Further nothing is changed. This setup is compatible with `source-map-explorer`

IFW-622

* chore(build): more readable commands

* pin

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>
Haroenv added a commit that referenced this pull request May 7, 2019
 * 2.27.0 - 2019-04-12 4939f6f, closes #640 #646
 * Update README.md 059481d
 * chore(build): add source map support (#654) 42ea2d5
 * chore(deps): update dependency algolia-frontend-components to v0.0.35 (#605) 41043af
 * chore(deps): update dependency algoliasearch to v3.32.0 (#628) e5cab52
 * chore(deps): update dependency babel-core to v6.26.3 (#581) 051075c
 * chore(deps): update dependency browserify to v14.5.0 (#582) 66e2a79
 * chore(deps): update dependency handlebars to v4.1.0 (#589) bf1c493
 * chore(deps): update dependency http-server to v0.11.1 (#590) 673ee5f
 * chore: use only yarn (no more npm 👩‍🚒) (#637) dba85a0
 * chore(deps): update dependency mversion to v1.13.0 (#630) 1304f19
 * chore(deps): update dependency rimraf to v2.6.3 (#596) 5e17830
 * chore(deps): update st (#625) 5d7d915
 * chore(docs): change jade to pug (#615) 80a20dc, closes #613
 * chore(docs): fix interpolation dd888f2
 * chore(docs): remove folder in  (#616) 7bfc971
 * chore(Jest): enable typeahead plugin (#668) 029e11c
 * chore(Jest): setup migration (#659) 2bf5e10
 * chore(Travis): build all branches (#669) bc2eb18
 * ci(test): Travis → Circle (#671) 2442ab0
 * docs(init): use toggleFacetRefinement instead (#622) 2461ffe
 * docs(instantiate): use existing signature of toggleRefine (#621) 6be5ec1
 * docs: fix InstantSearch link (#640) 2c97a71, closes #640
 * docs: fix typo on hierarchical facets (#646) ee5b3b4, closes #646
 * feat(sffv): throw an error if it's called and the client doesn't have the functions (#623) dd61360
 * fix(ua): change the User-Agent to use the new specs lib (version) (#647) eafd4cf
 * refactor(events): replace util.inherits by inline (#653) 16459ae
 * test(client): update index name (#619) 3564274
Haroenv added a commit that referenced this pull request May 7, 2019
* chore(build): add source map support

this creates two new files:

```
//# sourceMappingURL=algoliasearch.helper.js.map
//# sourceMappingURL=dist/algoliasearch.helper.min.js.map
```

- add exorcist for having the source map via browserify (otherwise only inline)
- add appropriate options for uglifyJS

Further nothing is changed. This setup is compatible with `source-map-explorer`

IFW-622

* chore(build): more readable commands

* pin

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>
Haroenv added a commit that referenced this pull request May 9, 2019
* chore(build): add source map support

this creates two new files:

```
//# sourceMappingURL=algoliasearch.helper.js.map
//# sourceMappingURL=dist/algoliasearch.helper.min.js.map
```

- add exorcist for having the source map via browserify (otherwise only inline)
- add appropriate options for uglifyJS

Further nothing is changed. This setup is compatible with `source-map-explorer`

IFW-622

* chore(build): more readable commands

* pin

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>
Haroenv added a commit that referenced this pull request May 9, 2019
* chore(build): add source map support

this creates two new files:

```
//# sourceMappingURL=algoliasearch.helper.js.map
//# sourceMappingURL=dist/algoliasearch.helper.min.js.map
```

- add exorcist for having the source map via browserify (otherwise only inline)
- add appropriate options for uglifyJS

Further nothing is changed. This setup is compatible with `source-map-explorer`

IFW-622

* chore(build): more readable commands

* pin

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>
dhayab pushed a commit to algolia/instantsearch that referenced this pull request Jul 10, 2023
…#654)

* chore(build): add source map support

this creates two new files:

```
//# sourceMappingURL=algoliasearch.helper.js.map
//# sourceMappingURL=dist/algoliasearch.helper.min.js.map
```

- add exorcist for having the source map via browserify (otherwise only inline)
- add appropriate options for uglifyJS

Further nothing is changed. This setup is compatible with `source-map-explorer`

IFW-622

* chore(build): more readable commands

* pin

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>
dhayab pushed a commit to algolia/instantsearch that referenced this pull request Jul 10, 2023
 * 2.27.0 - 2019-04-12 algolia/algoliasearch-helper-js@67a07c1, closes algolia/algoliasearch-helper-js#640 algolia/algoliasearch-helper-js#646
 * Update README.md algolia/algoliasearch-helper-js@6c40a66
 * chore(build): add source map support (algolia/algoliasearch-helper-js#654) algolia/algoliasearch-helper-js@25635fc
 * chore(deps): update dependency algolia-frontend-components to v0.0.35 (algolia/algoliasearch-helper-js#605) algolia/algoliasearch-helper-js@0bb3578
 * chore(deps): update dependency algoliasearch to v3.32.0 (algolia/algoliasearch-helper-js#628) algolia/algoliasearch-helper-js@39cb552
 * chore(deps): update dependency babel-core to v6.26.3 (algolia/algoliasearch-helper-js#581) algolia/algoliasearch-helper-js@83213d7
 * chore(deps): update dependency browserify to v14.5.0 (algolia/algoliasearch-helper-js#582) algolia/algoliasearch-helper-js@855cf5d
 * chore(deps): update dependency handlebars to v4.1.0 (algolia/algoliasearch-helper-js#589) algolia/algoliasearch-helper-js@28fd11b
 * chore(deps): update dependency http-server to v0.11.1 (algolia/algoliasearch-helper-js#590) algolia/algoliasearch-helper-js@9534c17
 * chore: use only yarn (no more npm 👩‍🚒) (algolia/algoliasearch-helper-js#637) algolia/algoliasearch-helper-js@b5b0952
 * chore(deps): update dependency mversion to v1.13.0 (algolia/algoliasearch-helper-js#630) algolia/algoliasearch-helper-js@20dce48
 * chore(deps): update dependency rimraf to v2.6.3 (algolia/algoliasearch-helper-js#596) algolia/algoliasearch-helper-js@0ed5fa9
 * chore(deps): update st (algolia/algoliasearch-helper-js#625) algolia/algoliasearch-helper-js@81a30b5
 * chore(docs): change jade to pug (algolia/algoliasearch-helper-js#615) algolia/algoliasearch-helper-js@f1ef3b0, closes algolia/algoliasearch-helper-js#613
 * chore(docs): fix interpolation algolia/algoliasearch-helper-js@d591977
 * chore(docs): remove folder in  (algolia/algoliasearch-helper-js#616) algolia/algoliasearch-helper-js@0e9332f
 * chore(Jest): enable typeahead plugin (algolia/algoliasearch-helper-js#668) algolia/algoliasearch-helper-js@e88c115
 * chore(Jest): setup migration (algolia/algoliasearch-helper-js#659) algolia/algoliasearch-helper-js@6dfb8ad
 * chore(Travis): build all branches (algolia/algoliasearch-helper-js#669) algolia/algoliasearch-helper-js@0c27d0b
 * ci(test): Travis → Circle (algolia/algoliasearch-helper-js#671) algolia/algoliasearch-helper-js@7b9c540
 * docs(init): use toggleFacetRefinement instead (algolia/algoliasearch-helper-js#622) algolia/algoliasearch-helper-js@d07614b
 * docs(instantiate): use existing signature of toggleRefine (algolia/algoliasearch-helper-js#621) algolia/algoliasearch-helper-js@c35bec9
 * docs: fix InstantSearch link (algolia/algoliasearch-helper-js#640) algolia/algoliasearch-helper-js@66dfa0c, closes algolia/algoliasearch-helper-js#640
 * docs: fix typo on hierarchical facets (algolia/algoliasearch-helper-js#646) algolia/algoliasearch-helper-js@940e2c6, closes algolia/algoliasearch-helper-js#646
 * feat(sffv): throw an error if it's called and the client doesn't have the functions (algolia/algoliasearch-helper-js#623) algolia/algoliasearch-helper-js@9002c31
 * fix(ua): change the User-Agent to use the new specs lib (version) (algolia/algoliasearch-helper-js#647) algolia/algoliasearch-helper-js@ec2c6ee
 * refactor(events): replace util.inherits by inline (algolia/algoliasearch-helper-js#653) algolia/algoliasearch-helper-js@0e227f9
 * test(client): update index name (algolia/algoliasearch-helper-js#619) algolia/algoliasearch-helper-js@ba68a3c
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants