Skip to content

Commit

Permalink
fix: upgrade webpack from 4 to 5 (#2524)
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Feb 18, 2021
1 parent a9e872a commit ecfd8bf
Show file tree
Hide file tree
Showing 204 changed files with 3,026 additions and 1,190 deletions.
21 changes: 15 additions & 6 deletions src/apis/abusiveexperiencereport/webpack.config.js
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
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
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
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
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
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
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
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
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
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
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
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

0 comments on commit ecfd8bf

Please sign in to comment.