Skip to content

Commit

Permalink
fix: postcss transpile to angular template (#8606)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz authored Sep 11, 2024
1 parent 031d9a6 commit b7d51d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/app/src/sandbox/eval/presets/angular-cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ export default function initialize() {

const styles = {
css: [postcssWithConfig],
scss: [sassWithConfig],
sass: [sassWithConfig],
scss: [sassWithConfig, postcssWithConfig],
sass: [sassWithConfig, postcssWithConfig],
less: [lessWithConfig],
styl: [stylusWithConfig],
};
Expand All @@ -253,7 +253,7 @@ export default function initialize() {
return Object.keys(styles).forEach(type => {
preset.registerTranspiler(
module => new RegExp(`\\.${type}$`).test(module.path),
[...styles[type], { transpiler: stylesTranspiler }]
[...styles[type], { transpiler: stylesTranspiler, options: {} }]
);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Based on https://repl.it/site/blog/infinite-loops.

const MAX_ITERATIONS = 10001;
const MAX_ITERATIONS = 100001;

export default function infiniteLoopDetector({ types: t, template }) {
// We set a global so that we can later fail the test
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/sandbox/worker/sw.no-webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function getResponse(request) {
`Failed to handle ${request.method} ${request.url} request: no response received from the BroadcastChannel within timeout. There's likely an issue with the relay/worker communication.`
)
);
}, 3000);
}, 5000);

const requestMessage = {
$channel: CHANNEL_NAME,
Expand Down

0 comments on commit b7d51d0

Please sign in to comment.