Skip to content

[LEOP-317]Fix not find encodebase64 function error#12112

Open
salleyliu wants to merge 29 commits into
react:mainfrom
Skyscanner:leop-317-sassfunction
Open

[LEOP-317]Fix not find encodebase64 function error#12112
salleyliu wants to merge 29 commits into
react:mainfrom
Skyscanner:leop-317-sassfunction

Conversation

@salleyliu
Copy link
Copy Markdown

It shows this error when running npm run build in banana:
image
./src/components/DetailsPanel/LegSegmentSummary/Times/Times.scss SassError: Could not find encodebase64 function. Refer to https://backpack.github.io/sassdoc/#svgs-mixin-bpk-icon on how to provide it to node-sass. on line 109 of node_modules/bpk-mixins/src/mixins/_svgs.scss, in mixin bpk-icon`
from line 31 of src/components/DetailsPanel/LegSegmentSummary/Times/Times.scss

@error $err;

`

olliecurtis and others added 29 commits May 10, 2021 12:03
* Backpackify

* add cache-loader to speed up local development

* add cache-loader to speed up local development

* restore link style of paths.js and webpack.config.js in react-scripts

* restore link style of paths.js and webpack.config.js in react-scripts again

* restore link style of paths.js and webpack.config.js in react-scripts again 2x

* restore link style of paths.js and webpack.config.js in react-scripts again 3x

* restore link style of paths.js and webpack.config.js in react-scripts again 4x

* restore link style of paths.js and webpack.config.js in react-scripts

* update CHANGELOG and the version of @skyscanner/backpack-react-scripts to v9.0.4

* add cache-loader to webpack SSR config but comment that out to not use

* change BRS version to v9.1.0 since it is a mirror change

* restore build-brs.yml formation as fork branch

* add blank space to build-brs.yml to restore formation

Co-authored-by: Ollie Curtis <8831547+olliecurtis@users.noreply.github.com>
Co-authored-by: Jayson Wu <jayson.wu@skyscanner.net>
* Backpackify

* add thread-loader to webpack config

* add thread-loader to webpack SSR config but comment that out to not use

* add CHANGELOG and upgrade version to v9.1.1

* restore build-brs.yml formation as fork branch

Co-authored-by: Ollie Curtis <8831547+olliecurtis@users.noreply.github.com>
Co-authored-by: Jayson Wu <jayson.wu@skyscanner.net>
* Backpackify

* optimize the usage of thread-loader to fix build:storybook running failed

* restore formation of build-brs.yml file

* restore react-scripts version to v9.1.0 to make pipeline run normal

Co-authored-by: Ollie Curtis <8831547+olliecurtis@users.noreply.github.com>
Co-authored-by: Jayson Wu <jayson.wu@skyscanner.net>
* apply cache-loader on ci

* fix spell of cache-loader

* only using SHOULD_USE_CACHE_LOADER to control and restore formation

* restore webpack config formation

Co-authored-by: Jayson Wu <jayson.wu@skyscanner.net>
…t performance (#102)

* Move cache-loader above resolve-url-loader to get the best performance

Co-authored-by: Jayson Wu <jayson.wu@skyscanner.net>
* Add hashes that also factor in project name

* added comment

* commit runaway formatting

Co-authored-by: Darrel Fox <darrel.fox@skyscanner.net>
* uninstall typescript linting dependencies as we did with eslint and eslint-config-react-app as these come from eslint-config-skyscanner

* add changelog entry for typescript eslint removal
* set node version to v14.x in workflows
* upgrade sass-loader to v10.x

* revert format

Co-authored-by: sophia-chen <sophia.chen@skyscanner.net>
They were not added in the latest PR #116 so adding it now as its missing
Merge and update change log of 9.5.1
* extract babelIncludePrefixes feature

Co-authored-by: tao.fang <tao.fang@skyscanner.net>
Co-authored-by: tao.fang <tao.fang@skyscanner.net>
Co-authored-by: tao.fang <tao.fang@skyscanner.net>
* Extract cssModules feature

Co-authored-by: tao.fang <tao.fang@skyscanner.net>
* extract splitChunks

* update require path

* add splitChunk annotation
* sassFunctions addon

* remove utils/sassFunctions.js

* update ssr sassFunctions

* update ssr sassFunctions
* prefect feature description

* update file
* extract runtimeChunk

* update runtimeChunk

* reset runtimeChunk
@salleyliu salleyliu requested a review from iansu as a code owner March 2, 2022 03:16
@salleyliu salleyliu requested a review from mrmckeb as a code owner March 2, 2022 03:16
@facebook-github-bot
Copy link
Copy Markdown

Hi @salleyliu!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@olliecurtis olliecurtis deleted the leop-317-sassfunction branch October 10, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants