Skip to content

Commit a4ecb58

Browse files
authored
Replace Webpack with Rollup (refined-github#7472)
1 parent acd3b33 commit a4ecb58

12 files changed

Lines changed: 2869 additions & 3678 deletions

.github/workflows/test.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,23 @@ jobs:
6565
node-version-file: package.json
6666
cache: npm
6767
- run: npm ci
68-
- run: npm run build:webpack -- --json webpack-stats.json
69-
- name: Send webpack stats to RelativeCI
68+
- run: npm run build:bundle
69+
env:
70+
RELATIVE_CI_STATS: true
71+
- name: Send build stats to RelativeCI
7072
if: matrix.os == 'ubuntu-latest'
7173
uses: relative-ci/agent-action@v2
7274
with:
73-
webpackStatsFile: ./webpack-stats.json
75+
token: ${{ github.token }}
76+
webpackStatsFile: ./distribution/assets/webpack-stats.json
7477
key: ${{ secrets.RELATIVE_CI_KEY }}
7578
- uses: actions/upload-artifact@v4
7679
if: matrix.os == 'ubuntu-latest'
7780
with:
7881
name: refined-github
79-
path: distribution
82+
path: |
83+
distribution
84+
!./distribution/assets/webpack-stats.json
8085
8186
Safari:
8287
runs-on: macos-13
@@ -87,7 +92,7 @@ jobs:
8792
node-version-file: package.json
8893
cache: npm
8994
- run: npm ci
90-
- run: npm run build:webpack
95+
- run: npm run build:bundle
9196
- uses: maxim-lobanov/setup-xcode@v1
9297
with:
9398
xcode-version: '15.0.1'

.xo-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
{
9595
"nodeVersion": "20",
9696
"files": [
97-
"webpack.config.ts",
9897
"build/*"
9998
],
10099
"rules": {

0 commit comments

Comments
 (0)