Skip to content

Commit cb8f908

Browse files
authored
Fix: suppress stale browserslist data warning (#175)
1 parent 7e23f40 commit cb8f908

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/AdaptFrameworkModule.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ class AdaptFrameworkModule extends AbstractModule {
7676

7777
await this.installFramework()
7878

79+
process.env.BROWSERSLIST_IGNORE_OLD_DATA = '1'
80+
7981
if (this.app.args['update-framework'] === true) {
8082
await this.updateFramework()
8183
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"test": "node --test --test-force-exit --experimental-test-module-mocks 'tests/**/*.spec.js'"
1212
},
1313
"dependencies": {
14-
"adapt-authoring-browserslist": "^1.3.4",
1514
"adapt-authoring-content": "^2.0.0",
1615
"adapt-authoring-contentplugin": "^1.0.3",
1716
"adapt-authoring-core": "^2.0.0",

0 commit comments

Comments
 (0)