Skip to content

Commit

Permalink
remove unexpected cherry-pick code from master
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Aug 27, 2020
1 parent c46ce66 commit 5fa9275
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions snowpack/src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,20 +626,6 @@ If Snowpack is having trouble detecting the import, add ${colors.bold(
}
// Wrap the response.
const {code, map} = output[requestedFileExt];
let finalResponse = code;

// Resolve imports.
if (
requestedFileExt === '.js' ||
requestedFileExt === '.html' ||
requestedFileExt === '.css'
) {
finalResponse = await resolveResponseImports(
fileLoc,
requestedFileExt,
finalResponse as string,
);
}

const hasAttachedCss = requestedFileExt === '.js' && !!output['.css'];
let wrappedResponse = await wrapResponse(code, {
Expand Down

0 comments on commit 5fa9275

Please sign in to comment.