Skip to content

Commit

Permalink
Merge pull request #34 from gismofx/dev
Browse files Browse the repository at this point in the history
Fix Webpack for release and debug builds.
  • Loading branch information
gismofx committed May 3, 2022
2 parents b826b05 + b3c0e6f commit 9bd16e4
Show file tree
Hide file tree
Showing 7 changed files with 806 additions and 45,318 deletions.
4 changes: 2 additions & 2 deletions toast_ui.blazor_calendar/NpmJS/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
const MiniCssExtractPlugin = require('mini-css-extract-plugin');

module.exports = {
mode: 'production'
mode: 'production',
devtool: 'source-map',
entry: './src/index.js',
output: {
path: path.resolve(__dirname, '../wwwroot/'),
filename: 'TUI.blazor_calendar.min.js',
sourceMapFilename: 'TUI.blazor_calendar.js.map',
sourceMapFilename: "[file].map",
},
plugins: [
new MiniCssExtractPlugin(
Expand Down
6 changes: 3 additions & 3 deletions toast_ui.blazor_calendar/toast_ui.blazor_calendar.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Copyright>MIT</Copyright>
<Description>Toast UI Calandar Wrapper For Blazor in Net6. A fully featured calendar component for blazor projects. Comes bundled with ToastUI Calendar JS and CSS files. visit github repo for examples on how to implement.</Description>
<Company></Company>
<Version>1.0.0-beta2.2</Version>
<Version>1.0.0-beta3.0</Version>
<PackageId>toast_ui.blazor_calendar</PackageId>
<PackageProjectUrl>https://github.com/gismofx/toast_ui.blazor_calendar</PackageProjectUrl>
<RepositoryUrl>https://github.com/gismofx/toast_ui.blazor_calendar</RepositoryUrl>
Expand Down Expand Up @@ -41,12 +41,12 @@
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>

<!--
<Target Name="PreBuildB" BeforeTargets="PreBuildEvent" Condition="'$(Configuration)' == 'Debug'">
<Exec Command="npm install" WorkingDirectory="NpmJS" />
<Exec Command="npm run dev" WorkingDirectory="NpmJS" />
</Target>

-->
<Target Name="PreBuildA" BeforeTargets="PreBuildEvent" Condition="'$(Configuration)' == 'Release'">
<Exec Command="npm install" WorkingDirectory="NpmJS" />
<Exec Command="npm run wbp" WorkingDirectory="NpmJS" />
Expand Down
2 changes: 1 addition & 1 deletion toast_ui.blazor_calendar/wwwroot/TUI.blazorCalendar.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

45,315 changes: 3 additions & 45,312 deletions toast_ui.blazor_calendar/wwwroot/TUI.blazor_calendar.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9bd16e4

Please sign in to comment.