This file contains hidden or 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
<script src="/js/polyfills.f501bf962ba966ac6403.min.js"></script> | |
<script src="/js/jquery.e884b239c22e79ed9c69.min.js"></script> | |
<script src="/js/bootstrap.bceff9462fe562e8d30e.min.js"></script> | |
<script src="/js/page-common.e3d4ffd6e23be8f5005c.min.js"></script> | |
<script src="/js/font-awesome.576c74921ff4f74c0048.min.js"></script> |
This file contains hidden or 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
@using Webpack | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
@await Html.WebpackStylesAsync("page-common") | |
@RenderSection("styles", required: false) | |
</head> |
This file contains hidden or 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
using Microsoft.AspNetCore.Html; | |
using Microsoft.AspNetCore.Mvc.Rendering; | |
using Newtonsoft.Json; | |
using System; | |
using System.Threading.Tasks; | |
namespace Webpack | |
{ | |
public static class WebpackHtmlHelperExtensions | |
{ |
This file contains hidden or 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
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %> | |
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script> | |
<% } %> |
This file contains hidden or 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
<!-- ... --> | |
<ItemGroup> | |
<WebpackInputs Include="app\**\*" /> | |
<WebpackInputs Include="webpack.config.ts" /> | |
</ItemGroup> | |
<ItemGroup> | |
<WebpackOutputs Include="wwwroot\assets\**\*" /> | |
<WebpackOutputs Include="wwwroot\css\**\*" /> | |
<WebpackOutputs Include="wwwroot\js\**\*" /> | |
</ItemGroup> |
This file contains hidden or 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
// Instructs WebPack to bundle up skin assets alongside TinyMCE. See: | |
// https://www.tinymce.com/docs/advanced/usage-with-module-loaders/#webpackfile-loader | |
(require as any).context( | |
'file-loader?name=[path][name].[ext]&outputPath=assets/&context=node_modules/tinymce!tinymce/skins', | |
true, | |
/.*/ | |
); |
This file contains hidden or 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
import * as $ from 'jquery'; | |
(window as any).jQuery = (window as any).$ = $; |
This file contains hidden or 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
Show hidden characters
{ | |
"compileOnSave": false, | |
"compilerOptions": { | |
"noImplicitAny": false, | |
"noEmitOnError": true, | |
"removeComments": false, | |
"sourceMap": true, | |
"target": "es5", | |
"noEmit": true, | |
"allowJs": true, |
This file contains hidden or 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
// Copyright Redpoint Games Pty Ltd 2017 All Rights Reserved. Some portions of this code are from Rama's Victory BP Library, which is licensed separately. | |
#include "SublevelComponent.h" | |
#include "Misc/PackageName.h" | |
#include "Engine/World.h" | |
#include "UnrealNetwork.h" | |
USublevelComponent::USublevelComponent() | |
{ | |
PrimaryComponentTick.bCanEverTick = true; |
This file contains hidden or 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
const config = { | |
context: path.resolve(__dirname, '..'), | |
output: { | |
path: path.resolve(__dirname, '../build/public/assets'), | |
publicPath: '/assets/', | |
pathinfo: VERBOSE, | |
}, | |
cache: DEBUG, |