Commit 0379cf4f authored by Evaryont's avatar Evaryont

add resume entrypoint to webpack

parent 201bf6e8
Pipeline #26 failed with stage
in 1 minute and 59 seconds
......@@ -85,7 +85,7 @@ activate :external_pipeline,
latency: 1
# Ignore everything in javascript or CSS -land, letting WebPack take over entirely
webpack_artifacts = ['index.js', 'index.js.map', 'stats.json', 'styles.css', 'styles.css.map']
webpack_artifacts = ['index.js', 'index.js.map', 'stats.json', 'styles.css', 'styles.css.map', 'resume.css', 'resume.css.map']
configure :build do
ignore { |path| path =~ /^assets\/(stylesheets|javascript)\// && !webpack_artifacts.include?(File.basename(path)) }
end
......
#inner {
background: #fff;
border: 0;
}
@media print {
a#pdf {
display: none;
}
#inner {
background: #fff;
border: 0;
}
#hd h1 {
letter-spacing: 0.03em;
}
a#pdf {
display: none;
}
#hd h2 {
letter-spacing: 0.03em;
}
#hd h1 {
letter-spacing: 0.03em;
}
a:not(.donotexpand):link:after, a:not(.donotexpand):visited:after {
content: " - " attr(href) " ";
}
#hd h2 {
letter-spacing: 0.03em;
}
div.no-page-breaker {
page-break-inside: avoid;
}
a:not(.donotexpand):link:after, a:not(.donotexpand):visited:after {
content: " - " attr(href) " ";
}
div.no-page-breaker {
page-break-inside: avoid;
}
/* reset some of the list styling, to show a vertical list again */
ul.links li { border-bottom: 1px solid #ccc; font-size: 115%; }
ul.links li { list-style: square outside; display: list-item; }
ul.links li:after { content: none; }
/* reset some of the list styling, to show a vertical list again */
ul.links li { border-bottom: 1px solid #ccc; font-size: 115%; }
ul.links li { list-style: square outside; display: list-item; }
ul.links li:after { content: none; }
#doc2 { width: 100%; }
#doc2 { width: 100%; }
}
@import "normalize.css";
@import "yui-reset-fonts-grids.css";
@import "open-sans";
@import "resume.base";
@import "resume.print";
@import "font-awesome.css.scss";
......@@ -4,17 +4,9 @@
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine or request Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title><%= data.resume.info.name || "Resume" %></title>
<%= stylesheet_link_tag "normalize.css", :media => "all" %>
<%= stylesheet_link_tag "yui-reset-fonts-grids.css", :media => "all" %>
<%= stylesheet_link_tag "open-sans" , :media => "all" %>
<%= stylesheet_link_tag "resume" , :media => "all" %>
<%= stylesheet_link_tag "resume.print" , :media => "print"%>
<%= stylesheet_link_tag "font-awesome", :media => "all" %>
<%= link_webpack_css_chunk 'resume' %>
</head>
<body class="<%= page_classes %> hresume">
......
......@@ -11,6 +11,7 @@ module.exports = (env, options) => {
entry: {
index: "./source/assets/javascript/index.js",
styles: "./source/assets/stylesheets/entry.scss",
resume: "./source/assets/stylesheets/resume.scss",
},
output: {
"path": __dirname + '/.tmp/dist/',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment