Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License & CHANGELOG needs to be included #2

Closed
mattheworiordan opened this issue Jan 16, 2015 · 1 comment
Closed

License & CHANGELOG needs to be included #2

mattheworiordan opened this issue Jan 16, 2015 · 1 comment
Assignees
Labels
enhancement New feature or improved functionality.

Comments

@mattheworiordan
Copy link
Member

Once implemented in this repo, we can use a template for all other repos.

@mattheworiordan
Copy link
Member Author

We should use the Apache license.

lawrence-forooghian added a commit that referenced this issue Apr 20, 2023
Ran the following:

npm install webpack@latest \
            webpack-cli@latest \
            copy-webpack-plugin@latest \
            tsconfig-paths-webpack-plugin@latest \
            ts-loader@latest

Part of #1184.

This is the commit message #2:

remove polyfill configuration

let’s see if this still works

https://webpack.js.org/migrate/5/#clean-up-configuration

"If you are using something like node.fs: 'empty' replace it with
resolve.fallback.fs: false"

This is the commit message #3:

emit ES5 runtime code

> Webpack 4 used to only emit ES5 code. Webpack 5 can generate both ES5
and ES6/ES2015 code now.

https://webpack.js.org/blog/2020-10-10-webpack-5-release/#improved-code-generation

we seem to be assuming ES5 in our codebase (see gruntfile config of
ECMASCRIPT5 and “lib” in tsconfig.json) — without this, we had failure
of `npm run check-closure-compiler`

this config option doesn't exist in webpack 4

tested this commit in web worker, in https://github.com/lawrence-forooghian/ably-js-web-worker-example, a33a74d
tested this commit in react native, in https://github.com/lawrence-forooghian/ably-js-react-native-example, 38cfa55

TODO what about

/**
 * Webpack v4 is used as Webpack v5 does not offer support for ES3 and creates issues for ES3 support such as discarding string literal keyword property names.
 */

what is our supported ES version? f2014f7 is "Update to ES5" but I can’t
find anything about the motivation, and we still mention ES3 above and
in the gruntfile.

TODO what about

> Without a browserslist webpack's runtime code uses ES2015 syntax (e.g., arrow function) to build smaller bundles. Hence you'll need to set target: ['web', 'es5'] to use the ES5 syntax for browsers (like IE11) which don't support ES2015 syntax .
>
> For Node.js, builds include the supported Node.js version in the target option and webpack will automatically figure out which syntax is supported, e.g. target: 'node8.6'.

what is our supported node version? what is our supported browser
version?
lawrence-forooghian added a commit that referenced this issue Apr 20, 2023
Ran the following:

npm install webpack@latest \
            webpack-cli@latest \
            copy-webpack-plugin@latest \
            tsconfig-paths-webpack-plugin@latest \
            ts-loader@latest

Part of #1184.

This is the commit message #2:

remove polyfill configuration

let’s see if this still works

https://webpack.js.org/migrate/5/#clean-up-configuration

"If you are using something like node.fs: 'empty' replace it with
resolve.fallback.fs: false"

This is the commit message #3:

emit ES5 runtime code

> Webpack 4 used to only emit ES5 code. Webpack 5 can generate both ES5
and ES6/ES2015 code now.

https://webpack.js.org/blog/2020-10-10-webpack-5-release/#improved-code-generation

we seem to be assuming ES5 in our codebase (see gruntfile config of
ECMASCRIPT5 and “lib” in tsconfig.json) — without this, we had failure
of `npm run check-closure-compiler`

this config option doesn't exist in webpack 4

tested this commit in web worker, in https://github.com/ably-labs/ably-js-react-native-example, commit 48eee78
tested this commit in react native, in https://github.com/ably-labs/ably-js-web-worker-example, commit 88ccaae

TODO what about

/**
 * Webpack v4 is used as Webpack v5 does not offer support for ES3 and creates issues for ES3 support such as discarding string literal keyword property names.
 */

what is our supported ES version? f2014f7 is "Update to ES5" but I can’t
find anything about the motivation, and we still mention ES3 above and
in the gruntfile.

TODO what about

> Without a browserslist webpack's runtime code uses ES2015 syntax (e.g., arrow function) to build smaller bundles. Hence you'll need to set target: ['web', 'es5'] to use the ES5 syntax for browsers (like IE11) which don't support ES2015 syntax .
>
> For Node.js, builds include the supported Node.js version in the target option and webpack will automatically figure out which syntax is supported, e.g. target: 'node8.6'.

what is our supported node version? what is our supported browser
version?
lawrence-forooghian added a commit that referenced this issue Apr 20, 2023
Ran the following:

npm install webpack@latest \
            webpack-cli@latest \
            copy-webpack-plugin@latest \
            tsconfig-paths-webpack-plugin@latest \
            ts-loader@latest

Part of #1184.

This is the commit message #2:

remove polyfill configuration

let’s see if this still works

https://webpack.js.org/migrate/5/#clean-up-configuration

"If you are using something like node.fs: 'empty' replace it with
resolve.fallback.fs: false"

This is the commit message #3:

emit ES5 runtime code

> Webpack 4 used to only emit ES5 code. Webpack 5 can generate both ES5
and ES6/ES2015 code now.

https://webpack.js.org/blog/2020-10-10-webpack-5-release/#improved-code-generation

we seem to be assuming ES5 in our codebase (see gruntfile config of
ECMASCRIPT5 and “lib” in tsconfig.json) — without this, we had failure
of `npm run check-closure-compiler`

this config option doesn't exist in webpack 4

tested this commit in web worker, in https://github.com/ably-labs/ably-js-react-native-example, commit 48eee78
tested this commit in react native, in https://github.com/ably-labs/ably-js-web-worker-example, commit 88ccaae

TODO what about

/**
 * Webpack v4 is used as Webpack v5 does not offer support for ES3 and creates issues for ES3 support such as discarding string literal keyword property names.
 */

what is our supported ES version? f2014f7 is "Update to ES5" but I can’t
find anything about the motivation, and we still mention ES3 above and
in the gruntfile.

#839 says "Now we no longer
advertise support for IE8 (or ES3) we can take this upgrade."

TODO what about

> Without a browserslist webpack's runtime code uses ES2015 syntax (e.g., arrow function) to build smaller bundles. Hence you'll need to set target: ['web', 'es5'] to use the ES5 syntax for browsers (like IE11) which don't support ES2015 syntax .
>
> For Node.js, builds include the supported Node.js version in the target option and webpack will automatically figure out which syntax is supported, e.g. target: 'node8.6'.

what is our supported node version? what is our supported browser
version?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improved functionality.
Development

No branches or pull requests

2 participants