-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,502 additions
and
782 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
var webpack = require('webpack') | ||
var webpackConfig = require('./webpack.base.config') | ||
var chalk = require('chalk') | ||
var rm = require('rimraf') | ||
|
||
rm(webpackConfig.outputDir, (err) => { | ||
|
||
if (err) console.log(chalk.red(err)) | ||
|
||
}) | ||
|
||
/** | ||
* no testing - just attempt to output the dist folder and files | ||
* | ||
*/ | ||
|
||
webpack(webpackConfig.options, function (err) { | ||
|
||
if (err) { | ||
|
||
console.log(chalk.red(err)) | ||
|
||
return | ||
|
||
} | ||
|
||
console.log(chalk.green('build complete')) | ||
|
||
}) |
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,21 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<title>Inline SVG Tests blank</title> | ||
|
||
<script src="test.js"></script> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div> | ||
<p>should not touch this: <img width="20px" height="auto" class="leave-me" src="images/face.svg"></p> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.