mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-23 23:49:43 -05:00
fix: Cypress.cookies.debug() regression (#15785)
This commit is contained in:
@@ -1,28 +1,16 @@
|
||||
import fs from 'fs-extra'
|
||||
import gulp from 'gulp'
|
||||
import rimraf from 'rimraf'
|
||||
import webpack from 'webpack'
|
||||
import cypressIcons from '@cypress/icons'
|
||||
import webpackConfig from './webpack.config.js'
|
||||
|
||||
const pkg = require('./package.json')
|
||||
|
||||
const clean = (done) => {
|
||||
rimraf('dist', done)
|
||||
}
|
||||
|
||||
const manifest = (done) => {
|
||||
gulp.src('app/manifest.json')
|
||||
const manifest = () => {
|
||||
return gulp.src('app/manifest.json')
|
||||
.pipe(gulp.dest('dist'))
|
||||
.on('end', () => {
|
||||
return fs.readJson('dist/manifest.json', function (err, json) {
|
||||
json.version = pkg.version
|
||||
|
||||
return fs.writeJson('dist/manifest.json', json, { spaces: 2 }, done)
|
||||
})
|
||||
})
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
const background = (cb) => {
|
||||
|
||||
@@ -3,6 +3,10 @@ const path = require('path')
|
||||
module.exports = {
|
||||
mode: process.env.NODE_ENV || 'development',
|
||||
entry: './app/init.js',
|
||||
// https://github.com/cypress-io/cypress/issues/15032
|
||||
// Default webpack output setting is "eval".
|
||||
// Chrome doesn't allow "eval" inside extensions.
|
||||
devtool: 'inline-cheap-source-map',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user