-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "use terser to fix #426 (#427)" This reverts commit 4c80c4e. * Revert "switch laravel mix to vite (#423)" This reverts commit cb53072.
- Loading branch information
1 parent
4c80c4e
commit 205cc6d
Showing
99 changed files
with
76,980 additions
and
7,111 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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** @type {import("@babel/core").TransformOptions} */ | ||
module.exports = { | ||
presets: [ | ||
['@babel/preset-env', { targets: { node: 'current' } }], | ||
'@babel/preset-typescript', | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** @type {import("@jest/types").Config.InitialOptions} */ | ||
module.exports = { | ||
testEnvironment: 'jsdom', | ||
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'], | ||
collectCoverageFrom: [ | ||
'<rootDir>/src/**/*.(j|t)s*', | ||
'!<rootDir>/src/(types|i18n)/*', | ||
'!<rootDir>/**/__snapshots__/*', | ||
'!<rootDir>/src/**/index.ts', | ||
], | ||
moduleNameMapper: { | ||
'\\.(css)$': '<rootDir>/test/__mocks__/styleMock.js', | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import '@testing-library/jest-dom/extend-expect'; | ||
import React from 'react'; | ||
|
||
global.React = React; | ||
|
||
const savedLocation = window.location; | ||
const savedHistory = window.history; | ||
|
||
beforeEach(() => { | ||
delete window.location; | ||
delete window.history; | ||
|
||
window.history = { | ||
pushState: jest.fn(), | ||
}; | ||
|
||
window.location = new URL('https://test.com'); | ||
window.location.reload = jest.fn(); | ||
}); | ||
|
||
afterEach(() => { | ||
window.location = savedLocation; | ||
window.history = savedHistory; | ||
}); |
This file was deleted.
Oops, something went wrong.
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,4 +1,4 @@ | ||
[build] | ||
publish = "dist/" | ||
command = "npm run build" | ||
publish = "public/" | ||
command = "npx mix --production" | ||
|
Oops, something went wrong.