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

fix: upgrade webpack from 4 to 5 #2524

Merged
merged 2 commits into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 15 additions & 6 deletions src/apis/abusiveexperiencereport/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Abusiveexperiencereport',
filename: 'abusiveexperiencereport.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/acceleratedmobilepageurl/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Acceleratedmobilepageurl',
filename: 'acceleratedmobilepageurl.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
9 changes: 9 additions & 0 deletions src/apis/accessapproval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

> An API for controlling access to data by Google personnel.

## Support status
**Note**: Google provides multiple libraries for this service. This library is in
maintenance mode, and will continue to be made available for users who have
existing applications. If you're building a new application, or modernizing a
legacy application, please use [@google-cloud/access-approval](https://www.npmjs.com/package/@google-cloud/access-approval) instead.
The [@google-cloud/access-approval](https://www.npmjs.com/package/@google-cloud/access-approval) library is faster, easier to use, and better maintained.

To learn more, see [Client Libraries Explained](https://cloud.google.com/apis/docs/client-libraries-explained).

## Installation

```sh
Expand Down
21 changes: 15 additions & 6 deletions src/apis/accessapproval/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Accessapproval',
filename: 'accessapproval.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/accesscontextmanager/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Accesscontextmanager',
filename: 'accesscontextmanager.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/adexchangebuyer/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Adexchangebuyer',
filename: 'adexchangebuyer.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/adexchangebuyer2/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Adexchangebuyer2',
filename: 'adexchangebuyer2.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/adexperiencereport/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Adexperiencereport',
filename: 'adexperiencereport.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/admin/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Admin',
filename: 'admin.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/admob/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Admob',
filename: 'admob.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/adsense/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Adsense',
filename: 'adsense.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down
21 changes: 15 additions & 6 deletions src/apis/adsensehost/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,27 @@ module.exports = {
entry: './index.ts',
resolve: {
extensions: ['.ts', '.js', '.json'],
fallback: {
crypto: false,
child_process: false,
fs: false,
http2: false,
buffer: 'browserify',
process: false,
os: false,
querystring: false,
path: false,
stream: 'stream-browserify',
url: false,
util: false,
zlib: false,
},
},
output: {
library: 'Adsensehost',
filename: 'adsensehost.min.js',
path: path.resolve(__dirname, 'dist'),
},
node: {
child_process: 'empty',
fs: 'empty',
crypto: 'empty',
http2: 'empty',
},
module: {
rules: [
{
Expand Down