This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: assemble inline when content is provided (#35)
* feat: assemble inline when content is provided * fix: convert compiled template module to iife expression * refact: extract utility functions from assemble * refact: always import style injector If it is unused, it would be removed in build optimisation. * test: add more realistic render content * chore: add test fixtures * feat: test assembled code in headless chrome * fix: launch headless chrome * chore: remove extra circle file * fix: put chrome launch args * chore: use puppeteer enabled image * chore: use postcss-modules-sync instead * feat: add validation for parameters expected in public API fixes #31 * fix: add esModule support in custom blocks fixes #38 * chore: rename browser to baseline test * feat: transform srcset attribute on image to require statement ... and refactor test code fixes #39
- Loading branch information
Showing
33 changed files
with
1,773 additions
and
502 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 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,12 @@ | ||
module.exports = { | ||
moduleFileExtensions: [ | ||
'js', | ||
'json', | ||
'png', | ||
'vue' | ||
], | ||
transform: { | ||
'.*\.(js|vue|png)$': './test/setup/jest-helper.js' | ||
}, | ||
testRegex: '.*\.spec.js' | ||
} |
Oops, something went wrong.