@@ -57,9 +57,6 @@ module.exports = {
5757 SITE_CONFIG : JSON . stringify ( SITE_CONFIG )
5858 } ) ,
5959 new EnvironmentPlugin ( [ 'CODE_GOV_API_BASE' , 'CODE_GOV_API_KEY' , 'CODE_GOV_TASKS_URL' ] ) ,
60- // new MiniCssExtractPlugin({
61- // filename: "styles/[name].css"
62- // }),
6360 new CopyPlugin ( {
6461 patterns : [
6562 { from : 'styles' , to : 'css' } ,
@@ -184,70 +181,6 @@ module.exports = {
184181 }
185182 }
186183 } ,
187- // {
188- // // Apply rule for .sass, .scss or .css files
189- // test: /\.css$/,
190-
191- // // Set loaders to transform files.
192- // // Loaders are applying from right to left(!)
193- // // The first loader will be applied after others
194- // use: [
195- // {
196- // // After all CSS loaders we use plugin to do his work.
197- // // It gets all transformed CSS and extracts it into separate
198- // // single bundled file
199- // loader: MiniCssExtractPlugin.loader
200- // },
201- // 'css-loader'
202- // ]
203- // },
204- // {
205- // // Apply rule for .sass, .scss or .css files
206- // test: /\.(sa|sc|c)ss$/,
207-
208- // // Set loaders to transform files.
209- // // Loaders are applying from right to left(!)
210- // // The first loader will be applied after others
211- // use: [
212- // //{
213- // // loader: 'style-loader', // creates style nodes from JS strings
214- // // options: {
215- // // sourceMap: true
216- // // }
217- // // },
218- // {
219- // loader: MiniCssExtractPlugin.loader
220- // },
221- // {
222- // // This loader resolves url() and @imports inside CSS
223- // loader: "css-loader", options: { url: false, sourceMap: true }
224- // },
225- // {
226- // // Then we apply postCSS fixes like autoprefixer and minifying
227- // loader: "postcss-loader",
228- // options: {
229- // sourceMap: true
230- // }
231- // },
232- // {
233- // // First we transform SASS to standard CSS
234- // loader: "sass-loader",
235- // options: {
236- // implementation: require("node-sass"),
237- // sassOptions: {
238- // sourceMap: true,
239- // includePaths: [
240- // //join(dirname(module.filename), 'node_modules'),
241- // //join(dirname(module.filename), 'node_modules/uswds/dist/scss')
242- // path.resolve(__dirname, 'node_modules'),
243- // path.resolve(__dirname, 'node_modules/uswds/dist/scss'),
244- // path.resolve(__dirname, 'node_modules/uswds/dist/fonts')
245- // ]
246- // }
247- // }
248- // }
249- // ]
250- // },
251184 {
252185 test : / \. ( s * ) c s s $ / ,
253186 use : [
@@ -279,10 +212,7 @@ module.exports = {
279212 loader : 'html-loader'
280213 } ,
281214 {
282- loader : 'markdown-loader' ,
283- options : {
284- /* your options here */
285- }
215+ loader : 'markdown-loader'
286216 }
287217 ]
288218 } ,
0 commit comments