Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cookies-to-local-webpack-plugin

Get the cookie under the domain name and write it to the local development environment

example

// ...
const cookiesToLocal = require('cookies-to-local-webpack-plugin')
module.exports = {
  webpack: override(
    // ...
    addWebpackPlugin(
      new cookiesToLocal({
        targetUrl: 'https://www.google.com',
        localPort: 8020,
        ars: ['--auto-open-devtools-for-tabs'],
        enable: process.env.NODE_ENV === 'development'
      })
    ),
  ),
  devServer: overrideDevServer(devProxy()),
}

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages