-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Anthony/hig 156 change the color style of the cursor to (#25)
* Added support for inactive threshold * Updated version num * Prettified * Fixed names * Fixed name * Renamed * Cleaned code and added handling for edge cases * Updated package num * More skip customize, changed cursor * Update package version * Changed to use webpack instead of rollup Co-authored-by: Jay Khatri <[email protected]> * Fixed files * Added missing styles from CDN Co-authored-by: Jay Khatri <[email protected]>
- Loading branch information
1 parent
f23b119
commit 093d3da
Showing
9 changed files
with
5,922 additions
and
5,898 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@highlight-run/rrweb", | ||
"version": "0.9.26", | ||
"version": "0.9.27", | ||
"description": "record and replay the web", | ||
"scripts": { | ||
"test": "npm run bundle:browser && cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts", | ||
|
@@ -20,16 +20,10 @@ | |
"keywords": [ | ||
"rrweb" | ||
], | ||
"main": "lib/rrweb-all.js", | ||
"module": "es/rrweb/src/entries/all.js", | ||
"unpkg": "dist/rrweb.js", | ||
"main": "dist/index.js", | ||
"sideEffects": false, | ||
"typings": "typings/entries/all.d.ts", | ||
"files": [ | ||
"dist", | ||
"lib", | ||
"es", | ||
"typings" | ||
"dist" | ||
], | ||
"author": "[email protected]", | ||
"license": "MIT", | ||
|
@@ -48,6 +42,7 @@ | |
"css-loader": "^5.0.1", | ||
"inquirer": "^6.2.1", | ||
"jest-snapshot": "^23.6.0", | ||
"mini-css-extract-plugin": "^1.3.8", | ||
"mocha": "^5.2.0", | ||
"puppeteer": "^1.11.0", | ||
"rollup": "^2.3.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,55 @@ | ||
const path = require('path'); | ||
const webpack = require('webpack'); //to access built-in plugins | ||
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | ||
|
||
module.exports = { | ||
entry: { | ||
index: path.resolve(__dirname, 'src/index.ts'), | ||
entry: { | ||
index: path.resolve(__dirname, 'src/index.ts'), | ||
}, | ||
output: { | ||
path: path.resolve(__dirname, 'dist'), | ||
filename: '[name].js', | ||
library: 'highlightLib', | ||
libraryTarget: 'umd', | ||
}, | ||
plugins: [ | ||
new MiniCssExtractPlugin({ | ||
filename: '[name].css', | ||
}), | ||
], | ||
devServer: { | ||
watchContentBase: true, | ||
writeToDisk: true, | ||
headers: { | ||
'Access-Control-Allow-Origin': '*', | ||
}, | ||
output: { | ||
path: path.resolve(__dirname, 'dist'), | ||
filename: '[name].js', | ||
library: 'highlightLib', | ||
libraryTarget: 'umd', | ||
}, | ||
devServer: { | ||
watchContentBase: true, | ||
writeToDisk: true, | ||
headers: { | ||
'Access-Control-Allow-Origin': '*', | ||
}, | ||
}, | ||
devServer: { | ||
contentBase: path.join(__dirname, 'dist'), | ||
port: 8083 | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.tsx?$/, | ||
use: 'ts-loader', | ||
exclude: /node_modules/, | ||
}, | ||
{ | ||
test: /\.css$/, | ||
use: [ | ||
'style-loader', | ||
'css-loader' | ||
] | ||
} | ||
], | ||
}, | ||
resolve: { | ||
extensions: ['.js', '.ts', '.tsx'], | ||
modules: [path.resolve(__dirname, 'src'), 'node_modules'], | ||
// NOTE: Only uncomment for experimenting with rrweb-snapshot. | ||
// alias: { | ||
// "rrweb-snapshot": path.resolve(__dirname, "../rrweb-snapshot/dist"), | ||
// }, | ||
}, | ||
mode: 'development', | ||
devtool: 'source-map', | ||
}, | ||
devServer: { | ||
contentBase: path.join(__dirname, 'dist'), | ||
port: 8083, | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.tsx?$/, | ||
use: 'ts-loader', | ||
exclude: /node_modules/, | ||
}, | ||
{ | ||
test: /\.css?$/, | ||
use: [MiniCssExtractPlugin.loader, 'css-loader'], | ||
sideEffects: true, | ||
}, | ||
], | ||
}, | ||
resolve: { | ||
extensions: ['.js', '.ts', '.tsx'], | ||
modules: [path.resolve(__dirname, 'src'), 'node_modules'], | ||
// NOTE: Only uncomment for experimenting with rrweb-snapshot. | ||
// alias: { | ||
// 'rrweb-snapshot': path.resolve(__dirname, '../rrweb-snapshot/dist'), | ||
// }, | ||
}, | ||
mode: 'development', | ||
devtool: 'source-map', | ||
}; |
Oops, something went wrong.